small medium large xlarge

Generic-user-small
16 Jan 2014, 19:19
Chet Harrison (7 posts)

I think you are missing the context in the following call

let​ frames = Array.prototype.slice.call(arguments);

I haven’t run the code yet but it looks fishy.

Generic-user-small
16 Jan 2014, 19:40
Chet Harrison (7 posts)

well what do I know? The second call with the null was the wrong one.

let​ frames = Array.prototype.slice.call(null, arguments);

One of these days I’ll learn JS.

Avatar_pragsmall
26 May 2014, 11:34
Jim R. Wilson (69 posts)

Yeah, thanks Chet–this is a pretty embarrassing typo, and I’m glad people have mostly figured it out.

  You must be logged in to comment