Skip to content
Advertisement

Javascript – What is alternative to find function?

I am using find () function for one of my project. Official document https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find says that Internet Explorer is not supported. What else can I use?

Advertisement

Answer

A polyfill is a code that provides the functionality that you normally expect the browser to provide you natively. Here is the polyfill for Array.find

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement