test262/test/suite/sputnik/Implementation_Diagnostics/S15.5.4.11_D1.1_T1.js

16 lines
501 B
JavaScript
Raw Normal View History

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.5.4.11_D1.1_T1;
* @section: 15.5.4.11;
* @assertion: String.prototype.replace (searchValue, replaceValue) accepts only two arguments;
* @negative;
*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
"".replace();
//
//////////////////////////////////////////////////////////////////////////////