Command Executed :
arguments.toSource();
I am getting the below error when I am accessing the arguments in any function to display the arguments.
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
问问题
TypeError: Object #<Object> has no method 'toSource'
Is arguments is array or not ?
arguments is array-like, but not a full JavaScript Array.
arguments
Array
It has no toSource method; see the docs.
toSource
arguments类似于数组,但不是完整的 JavaScript Array。
它没有toSource方法;请参阅文档。