Groups
Groups
Sign in
Groups
Groups
Drip Discussions
Conversations
About
Send feedback
Help
Drip #58 - Detecting Array vs Object
25 views
Skip to first unread message
Liad Yosef
unread,
Apr 4, 2014, 8:03:39 AM
4/4/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 js-drip-d...@googlegroups.com
It's worth noting that the "instanceof" doesn't work in a multi-frame environment.
Since every frame has its own Array prototype, checking "instanceof" (and constructor) on an array from another frame will always return false.
http://stackoverflow.com/questions/6473273/why-are-myarray-instanceof-array-and-myarray-constructor-array-both-false-wh/6473338#6473338
Joshua Clanton
unread,
Apr 10, 2014, 11:06:25 PM
4/10/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 js-drip-d...@googlegroups.com
That's a great point. I may have to do a drip on that in the future. :-)
Reply all
Reply to author
Forward
0 new messages