Skip to content
Snippets Groups Projects
Commit a5e4c2ad authored by Pieter van Ginkel's avatar Pieter van Ginkel
Browse files

Fixed invalid configuration block delimiters.

Two tests started the configuration block with a /*-- instead of a /*---.
parent 408318bf
No related branches found
No related tags found
No related merge requests found
// Copyright 2015 Microsoft Corporation. All rights reserved. // Copyright 2015 Microsoft Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file. // This code is governed by the license found in the LICENSE file.
/*-- /*---
description: Object properties are assigned to target in ascending index order, description: Object properties are assigned to target in ascending index order,
i.e. a later assignment to the same property overrides an earlier assignment. i.e. a later assignment to the same property overrides an earlier assignment.
es6id: 19.1.2.1 es6id: 19.1.2.1
--*/ ---*/
var target = {a: 1}; var target = {a: 1};
var result = Object.assign(target,{a:2},{a:"c"}); var result = Object.assign(target,{a:2},{a:"c"});
......
// Copyright 2015 Microsoft Corporation. All rights reserved. // Copyright 2015 Microsoft Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file. // This code is governed by the license found in the LICENSE file.
/*-- /*---
description: Number,Boolean,Symbol cannot have own enumerable properties, description: Number,Boolean,Symbol cannot have own enumerable properties,
So cannot be Assigned.Here result should be original object. So cannot be Assigned.Here result should be original object.
es6id: 19.1.2.1.5.c es6id: 19.1.2.1.5.c
--*/ ---*/
var target = new Object(); var target = new Object();
var result = Object.assign(target,123,true,Symbol('foo')); var result = Object.assign(target,123,true,Symbol('foo'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment