Closed millermedeiros closed 12 years ago
since Harmony has a new method on the string object String#contains() I think we should also implement it.
String#contains()
expect( contains('abc', 'b') ).toBe( true ); expect( contains('abc', 'bc') ).toBe( true ); expect( contains('abc', 'd') ).toBe( false );
more info: http://wiki.ecmascript.org/doku.php?id=harmony:string_extras
since Harmony has a new method on the string object
String#contains()
I think we should also implement it.more info: http://wiki.ecmascript.org/doku.php?id=harmony:string_extras