Skip to content
Snippets Groups Projects
Commit 1e80bf22 authored by Brian Terlson's avatar Brian Terlson
Browse files

Merge pull request #341 from pvginkel/invalid-config-block-delimiters

Fixed invalid configuration block delimiters.
parents 30062b4b a5e4c2ad
No related branches found
No related tags found
No related merge requests found
// Copyright 2015 Microsoft Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.
/*--
/*---
description: Object properties are assigned to target in ascending index order,
i.e. a later assignment to the same property overrides an earlier assignment.
es6id: 19.1.2.1
--*/
---*/
var target = {a: 1};
var result = Object.assign(target,{a:2},{a:"c"});
......
// Copyright 2015 Microsoft Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.
/*--
/*---
description: Number,Boolean,Symbol cannot have own enumerable properties,
So cannot be Assigned.Here result should be original object.
es6id: 19.1.2.1.5.c
--*/
---*/
var target = new Object();
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