Using latest Chrome stable:

```js
"foobar".contains("oo") // true
```