js2php icon indicating copy to clipboard operation
js2php copied to clipboard

/js2php/core/function.js:19

Open zaoqi opened this issue 6 years ago • 3 comments

Cannot read property 'shift' of undefined

zaoqi avatar Mar 03 '19 05:03 zaoqi

/home/1828_sandbox/src/the-language/core/arch/php/node_modules/js2php/core/function.js:19 node.parent.arguments.shift(); ^

TypeError: Cannot read property 'shift' of undefined

zaoqi avatar Mar 03 '19 06:03 zaoqi

Hey, can you post the code sample that caused this? Thanks

On Sun 3. Mar 2019 at 03:31, Zaoqi [email protected] wrote:

/home/1828_sandbox/src/the-language/core/arch/php/node_modules/js2php/core/function.js:19 node.parent.arguments.shift(); ^

TypeError: Cannot read property 'shift' of undefined

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/endel/js2php/issues/40#issuecomment-468993578, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH9vj-xy9wHzOBAtuLNENKdBUcO2meZks5vS2wrgaJpZM4bazqa .

endel avatar Mar 03 '19 15:03 endel

@endel

https://gitlab.com/the-language/the-language/blob/f0c07a9958c298d23674a0625c9943cb251bfbc7/core/arch/ecmascript/lang.raw.js

zaoqi avatar Mar 08 '19 16:03 zaoqi