mirror of
https://github.com/tc39/test262.git
synced 2025-10-17 22:09:07 +02:00
16 lines
402 B
JavaScript
16 lines
402 B
JavaScript
// Copyright (c) 2012 Ecma International. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
es5id: 11.4.1-5-a-28-s
|
|
description: Strict Mode - TypeError is not thrown when deleting RegExp.length
|
|
includes: [runTestCase.js]
|
|
---*/
|
|
|
|
function testcase() {
|
|
var a = new RegExp();
|
|
var b = delete RegExp.length;
|
|
return true;
|
|
}
|
|
runTestCase(testcase);
|