blob: 465398c1fb2c2fd934e6611534a28e38b52c5766 [file] [log] [blame]
// Copyright (c) 2014 Ryan Lewis. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Ryan Lewis
description: >
String should return true when called on 'word' and passed 'w' and
with no location (defaults to 0).
features: [String.prototype.includes]
---*/
assert.sameValue('word'.includes('w'), true, '"word".includes("w")');