RosettaCodeData/Task/Associative-array-Merging/Nu/associative-array-merging.nu

5 lines
143 B
Text
Raw Permalink Normal View History

2024-10-16 18:07:41 -07:00
const base = {name: 'Rocket Skates' price: 12.75 color: 'yellow'}
const update = {price: 15.25 color: 'red' year: 1974}
$base | merge $update