summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/expressions/delete/11.4.1-5-a-28-s.js
blob: aa465ea68936ef515106e6c9884a334b547d9dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-delete-operator-runtime-semantics-evaluation
description: Strict Mode - TypeError is not thrown when deleting RegExp.length
---*/

var a = new RegExp();
var b = delete RegExp.length;

reportCompare(0, 0);