PythonJS / PythonJS

PythonJS development has moved to Rusthon
https://github.com/rusthon/Rusthon
Other
886 stars 93 forks source link

t[i] = t[j] #128

Open texcoffier opened 10 years ago

texcoffier commented 10 years ago

When translating:

def main(t, i, j):
    t[i] = t[j]

We obtain:

t[((i.__uid__) ? i.__uid__ : i)] =
t[((j.__uid__) ? j.__uid__ : ((j instanceof Array) ? JSON.stringify(j) : j))];

The expression should be symetrical.