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.