RosettaCodeData/Task/Associative-array-Merging/AppleScript/associative-array-merging-1.applescript
2023-07-01 13:44:08 -04:00

5 lines
203 B
AppleScript

set baseRecord to {|name|:"Rocket Skates", price:12.75, |color|:"yellow"}
set updateRecord to {price:15.25, |color|:"red", |year|:1974}
set mergedRecord to updateRecord & baseRecord
return mergedRecord