The call() function is a predefined JavaScript function. The call() allows for a function belonging to object can use a method belonging to another object. var person = { fullName: function() { return this.firstName + " " + this.lastName; } ...
Markdown supported · ⌘↵ to post
No responses yet.