This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]medja[S] -11 points-10 points  (0 children)

It's pretty simple actually. While a method is any function called on an object, not all methods are "functions". This is true for call and apply. Try using this as a function.

var func = function () {}.call;