Array.prototype.findIndex

/ अरे प्रोटोटाइप फाइंडइंडेक्स /
Meaning in this fieldfindIndex पहली मिलान की सूचकांक देता है।method

or