Js2Py icon indicating copy to clipboard operation
Js2Py copied to clipboard

need help when eval

Open yinghuochong opened this issue 7 years ago • 0 comments

js code: params = eval('(function(){ return [].splice.call(arguments, 0 ) })(' + params + ')')

after transfer: var.put('params', var.get('eval')(Js('(function(){ return [].splice.call(arguments, 0 ) })(')+var.get('params')+Js(')')))

seems right ,but python code result is diffrent with js

yinghuochong avatar Oct 17 '18 08:10 yinghuochong