blob: 453156c56587f9d63ad030e984f6ab6e18df81c5 [file] [log] [blame]
// Copyright (C) 2013 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 19.1.1.1_S3
description: >
Object(sym) returns a fresh Symbol object
features: [Symbol]
---*/
var symA = Symbol('A');
var symB = Symbol();
assert.notSameValue(Object(symA), symA, "The value of `Object(symA)` is not `symA`");
assert.notSameValue(Object(symB), symB, "The value of `Object(symB)` is not `symB`");