Groups
Groups
Sign in
Groups
Groups
Polymer
Conversations
Labels
About
Send feedback
Help
forEach as this
29 views
Skip to first unread message
johnj...@chromium.org
unread,
Apr 3, 2014, 2:10:49 PM
4/3/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to polym...@googlegroups.com
In the polymer source I read some places:
var forEach = Array.prototype.forEach.call.bind(Array.prototype.forEach);
Why is the function is bound to itself?
jjb
johnj...@chromium.org
unread,
Apr 3, 2014, 2:15:57 PM
4/3/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to polym...@googlegroups.com
Oh, sorry, it's 'call' that is bound, not forEach ;-)
Reply all
Reply to author
Forward
0 new messages