Jump to content

Associative array/Merging: Difference between revisions

m
Line 45:
 
=={{header|MiniScript}}==
MiniScript supports merging maps with the `+` operator.
<lang MiniScript>base = {"name":"Rocket Skates", "price":12.75, "color":"yellow"}
update = {"price":15.25, "color":"red", "year":1974}
222

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.