blob: 4f8d79d440d7d383f5d573fc03aa13cc78a0b8d9 [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
the location 0.
features: [String.prototype.includes]
---*/
assert.sameValue('word'.includes('w', 0), true, '"word".includes("w", 0)');