We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

indexof()

sam352120
Kilo Guru

What can be the exact use of   (indexof() == 1/-1 ).Can any one share your practical exposure on that.

 

Thanks on advance

1 REPLY 1

Pradeep Sharma
ServiceNow Employee

Hi,



Please check the below link for more info


JavaScript String indexOf() Method