test262/external/contributions/Google/sputniktests/tests/Implementation_Diagnostics/S8.4_D2.2.js

20 lines
544 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S8.4_D2.2;
* @section: 8.4, 15.5, 7.8.4;
* @assertion: Engines implements array like access to string elemenths,
* Index of elementh must be less than string length;
* @negative;
*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#
str='asdfghjkl';
var char__ =str[99];
//
//////////////////////////////////////////////////////////////////////////////