summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/freeze/15.2.3.9-1-3.js
blob: 39945d1f8eaeb47b29a1e9a405f1ab17e54b0d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.2.3.9-1-3
description: >
    Object.freeze does not throw TypeError if type of first param is
    boolean primitive
---*/

Object.freeze(false);
Object.freeze(true);

reportCompare(0, 0);