The Kipper programming language for Browsers and Node.js 🦊✨ Made at HTL Leonding & JKU Linz
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
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:
Arrays:
Objects:
Exact behaviour / changes you want
spreadArr
andspreadObj
, which implement the underlying functionality.