diff options
Diffstat (limited to 'test/built-ins/String/prototype/lastIndexOf/S15.5.4.8_A6.js')
-rw-r--r-- | test/built-ins/String/prototype/lastIndexOf/S15.5.4.8_A6.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/built-ins/String/prototype/lastIndexOf/S15.5.4.8_A6.js b/test/built-ins/String/prototype/lastIndexOf/S15.5.4.8_A6.js new file mode 100644 index 000000000..96170a0ca --- /dev/null +++ b/test/built-ins/String/prototype/lastIndexOf/S15.5.4.8_A6.js @@ -0,0 +1,16 @@ +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +info: String.prototype.lastIndexOf has not prototype property +es5id: 15.5.4.8_A6 +description: Checking String.prototype.lastIndexOf.prototype +---*/ + +////////////////////////////////////////////////////////////////////////////// +//CHECK#1 +if (String.prototype.lastIndexOf.prototype !== undefined) { + $ERROR('#1: String.prototype.lastIndexOf.prototype === undefined. Actual: '+String.prototype.lastIndexOf.prototype ); +} +// +////////////////////////////////////////////////////////////////////////////// |