test() javascript
const str = "Hello World";
var item = /Hello/, // to define the item name use /item name/
result = item.test(str); //test() used to search for a specific item in strings
// returns "true"
test() javascript
const str = "Hello World";
var item = /Hello/, // to define the item name use /item name/
result = item.test(str); //test() used to search for a specific item in strings
// returns "true"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us