summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/object-freeze-global.js
blob: 8ab5b8529bc90719a4051412f321cd4de507db75 (plain)
1
2
3
4
5
6
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

Object.freeze(this);
assertTrue(Object.isFrozen(this));