Kipper-Lang / Kipper

The Kipper programming language for Browsers and Node.js 🦊✨ Made at HTL Leonding & JKU Linz
https://kipper-lang.org
GNU General Public License v3.0
26 stars 4 forks source link

[Feature] Implement spread operator for objects and arrays allowing the direct insertion of another object or array #668

Open Luna-Klatzer opened 1 month ago

Luna-Klatzer commented 1 month ago

Is there an existing proposal for this?

This feature does not exist in the latest version

Proposal

Add support for the spread syntax, which allows the direct insertion of arrays or objects into other arrays or objects.

Examples:

Exact behaviour / changes you want