RosettaCodeData/Task/Associative-array-Merging/Nu/associative-array-merging.nu
2024-10-16 18:07:41 -07:00

4 lines
143 B
Text

const base = {name: 'Rocket Skates' price: 12.75 color: 'yellow'}
const update = {price: 15.25 color: 'red' year: 1974}
$base | merge $update