RosettaCodeData/Task/Associative-array-Merging/AppleScript/associative-array-merging-1.applescript

6 lines
203 B
AppleScript
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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