diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/tests/test262/built-ins/String/prototype/includes/String.prototype.includes_lengthProp.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/String/prototype/includes/String.prototype.includes_lengthProp.js b/js/src/tests/test262/built-ins/String/prototype/includes/String.prototype.includes_lengthProp.js new file mode 100644 index 0000000000..b268186511 --- /dev/null +++ b/js/src/tests/test262/built-ins/String/prototype/includes/String.prototype.includes_lengthProp.js @@ -0,0 +1,11 @@ +// 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 have the property length with size of 1. +features: [String.prototype.includes] +---*/ +assert.sameValue('word'.includes.length, 1, '"word".includes.length'); + +reportCompare(0, 0); |