-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
Description
The following Python code
a = ["hello"]
a += ["world"]
print(a) # ['hello', 'world']gets compiled into:
a = ["hello"];
// ...
a += ["world"];
console.log(a); // "helloworld"which is wrong, since a now is the helloworld string, while it should be the ['hello', 'world'] array.
Reactions are currently unavailable