blob: 9eada7bdc575f03afff53a4137ce5af27f8f3962 [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 false if a location is passed that is
greather than the length of the string.
features: [String.prototype.includes]
---*/
assert.sameValue('word'.includes('w', 5), false, '"word".includes("w", 5)');