Kray-G / kinx

Looks like JavaScript, feels like Ruby, and it is a script language fitting in C programmers.
MIT License
237 stars 7 forks source link

Crash with destructuring assignment. #341

Closed Kray-G closed 2 years ago

Kray-G commented 2 years ago

Crash with the following code.

var user = {};
[user.name, user.surname] = "John Smith".split(' ');

System.println(user.name); // John
System.println(user.surname); // Smith