Skip to main content
New Participant
September 18, 2018
Answered

Object doesn't support property or method 'find' in IE11

  • September 18, 2018
  • 3 replies
  • 2076 views

Hello,
In a project I am creating objects dynamically and assigning id to each of them.
Later I need to find these object and do something with them.
But in IE11 it is not working
I am wondering weather aforementioned property or method is supported in IE11. Works fine in edge and other modern browsers.
Code and error are below:-

Thank you.

This topic has been closed for replies.
Correct answer ClayUUID

Not supported in IE11.

https://caniuse.com/#search=Array.prototype.find

You'll have to code your own function to perform what find() is doing.

3 replies

KislayCGAuthor
New Participant
September 19, 2018

kglad​ stage.children[1] is an createjs container and stage.children[1].children are objects that I am adding to the container.

ClayUUID I also thought so. Thanks for confirming.

Thank you both for quick reply.

ClayUUIDCorrect answer
Braniac
September 18, 2018

Not supported in IE11.

https://caniuse.com/#search=Array.prototype.find

You'll have to code your own function to perform what find() is doing.

kglad
Braniac
September 18, 2018

is stage.children[1].children an array?