javascript return false if not match any value code example Example: js match true false /match/.test('string match') // true