Yeong-u Kim (2018-02-08T09:45:02.000Z)
# Suggestion: Destructuring object initializer.
----------
 Destructuring assignment: it extracts values by destructuring an object, and assign _them_ to ‘variables.’ I suggest Destructuring object initialization syntax; it is similar to Destructuring assignment, except that it initializes an object with _the extracted values_.
```javascriptconst name_info = {"first name": "Yeong-u", "last name": "Kim", nickname: "K."};const e = "computed property name";
const object = {	name: {		*{"first name": forename, "last name": surname}: name_info	},	*[a, b, c]: [1, 2, 3],	*[d]: [4],	[e]: "This is not part of the syntax"	*[{"some property name": "new one"}]: [{"some property name": 5}],	*{gettable: something}: {get gettable() {return Symbol("Using [[Get]]");}}};/*	{		name: {			forename: "Yeong-u",			surname: "Kim"		},		a: 1,		b: 2,		c: 3,		d: 4,		"computed property name": "This is not part of the syntax",		"new one": 5,		something: Symbol(Using [[Get]])	}*/```
----------
 I would appreciate hearing your opinion on this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180208/885c26fe/attachment.html>
wlzla000 at naver.com (2018-02-12T11:05:35.580Z)
# Suggestion: Destructuring object initializer.

----------

 **Destructuring assignment**: it extracts values by destructuring an object, and assign them to variables. I suggest **Destructuring object initialization** syntax: it is similar to **Destructuring assignment**, except that it initializes an object with the extracted values.

```javascript
const name_info = {"first name": "Yeong-u", "last name": "Kim", nickname: "K."};
const propname = "computed property name";

const object = {
	name: {
		*{"first name": forename, "last name": surname}: name_info
	},
	*[a, b, c]: [1, 2, 3],
	*[d]: [4],
	[propname]: "This is not part of the syntax",
	*[{"some property name": propname}]: [{"some property name": 5}],
	*{gettable: "something gotten"}: {get gettable() {return Symbol("Using [[Get]]");}}
};
/*
	{
		name: {
			forename: "Yeong-u",
			surname: "Kim"
		},
		a: 1,
		b: 2,
		c: 3,
		d: 4,
		"computed property name": "This is not part of the syntax",
		propname: 5,
		"something gotten": Symbol(Using [[Get]])
	}
*/
```

 In this way, we may not give them a computed property name as with the current **Destructuring assignment** syntax, though.

----------

 I would appreciate hearing your opinion on this.
wlzla000 at naver.com (2018-02-08T10:53:54.585Z)
# Suggestion: Destructuring object initializer.

----------

 **Destructuring assignment**: it extracts values by destructuring an object, and assign them to variables. I suggest **Destructuring object initialization** syntax: it is similar to **Destructuring assignment**, except that it initializes an object with the extracted values.

```javascript
const name_info = {"first name": "Yeong-u", "last name": "Kim", nickname: "K."};
const propname = "computed property name";

const object = {
	name: {
		*{"first name": forename, "last name": surname}: name_info
	},
	*[a, b, c]: [1, 2, 3],
	*[d]: [4],
	[propname]: "This is not part of the syntax"
	*[{"some property name": propname}]: [{"some property name": 5}],
	*{gettable: "something gotten"}: {
		get gettable() {return Symbol("Using [[Get]]");}
	}
};
/*
	{
		name: {
			forename: "Yeong-u",
			surname: "Kim"
		},
		a: 1,
		b: 2,
		c: 3,
		d: 4,
		"computed property name": "This is not part of the syntax",
		propname: 5,
		"something gotten": Symbol(Using [[Get]])
	}
*/
```

 In this way, we may not give them a computed property name as with the current **Destructuring assignment** syntax, though.

----------

 I would appreciate hearing your opinion on this.
wlzla000 at naver.com (2018-02-08T10:01:48.719Z)
# Suggestion: Destructuring object initializer.

----------

 **Destructuring assignment**: it extracts values by destructuring an object, and assign them to variables. I suggest **Destructuring object initialization** syntax: it is similar to **Destructuring assignment**, except that it initializes an object with the extracted values.

```javascript
const name_info = {"first name": "Yeong-u", "last name": "Kim", nickname: "K."};
const propname = "computed property name";

const object = {
	name: {
		*{"first name": forename, "last name": surname}: name_info
	},
	*[a, b, c]: [1, 2, 3],
	*[d]: [4],
	[propname]: "This is not part of the syntax"
	*[{"some property name": propname}]: [{"some property name": 5}],
	*{gettable: something}: {get gettable() {return Symbol("Using [[Get]]");}}
};
/*
	{
		name: {
			forename: "Yeong-u",
			surname: "Kim"
		},
		a: 1,
		b: 2,
		c: 3,
		d: 4,
		"computed property name": "This is not part of the syntax",
		propname: 5,
		something: Symbol(Using [[Get]])
	}
*/
```

 In this way, we may not give them a computed property name as with the current **Destructuring assignment** syntax, though.

----------

 I would appreciate hearing your opinion on this.
wlzla000 at naver.com (2018-02-08T10:00:30.903Z)
# Suggestion: Destructuring object initializer.

----------

 **Destructuring assignment**: it extracts values by destructuring an object, and assign them to variables. I suggest **Destructuring object initialization** syntax; it is similar to **Destructuring assignment**, except that it initializes an object with the extracted values.

```javascript
const name_info = {"first name": "Yeong-u", "last name": "Kim", nickname: "K."};
const propname = "computed property name";

const object = {
	name: {
		*{"first name": forename, "last name": surname}: name_info
	},
	*[a, b, c]: [1, 2, 3],
	*[d]: [4],
	[propname]: "This is not part of the syntax"
	*[{"some property name": propname}]: [{"some property name": 5}],
	*{gettable: something}: {get gettable() {return Symbol("Using [[Get]]");}}
};
/*
	{
		name: {
			forename: "Yeong-u",
			surname: "Kim"
		},
		a: 1,
		b: 2,
		c: 3,
		d: 4,
		"computed property name": "This is not part of the syntax",
		propname: 5,
		something: Symbol(Using [[Get]])
	}
*/
```

 In this way, we may not give them a computed property name as with the current **Destructuring assignment** syntax, though.

----------

 I would appreciate hearing your opinion on this.
wlzla000 at naver.com (2018-02-08T09:50:50.625Z)
# Suggestion: Destructuring object initializer.

----------

 Destructuring assignment: it extracts values by destructuring an object, and assign _them_ to ‘variables.’ I suggest Destructuring object initialization syntax; it is similar to Destructuring assignment, except that it initializes an object with _the extracted values_.

```javascript
const name_info = {"first name": "Yeong-u", "last name": "Kim", nickname: "K."};
const e = "computed property name";

const object = {
	name: {
		*{"first name": forename, "last name": surname}: name_info
	},
	*[a, b, c]: [1, 2, 3],
	*[d]: [4],
	[e]: "This is not part of the syntax"
	*[{"some property name": "new one"}]: [{"some property name": 5}],
	*{gettable: something}: {get gettable() {return Symbol("Using [[Get]]");}}
};
/*
	{
		name: {
			forename: "Yeong-u",
			surname: "Kim"
		},
		a: 1,
		b: 2,
		c: 3,
		d: 4,
		"computed property name": "This is not part of the syntax",
		"new one": 5,
		something: Symbol(Using [[Get]])
	}
*/
```

----------

 I would appreciate hearing your opinion on this.
wlzla000 at naver.com (2018-02-08T09:50:23.248Z)
# Suggestion: Destructuring object initializer.

----------

 Destructuring assignment: it extracts values by destructuring an object, and assign _them_ to ‘variables.’ I suggest Destructuring object initialization syntax; it is similar to Destructuring assignment, except that it initializes properties of an object with _the extracted values_.

```javascript
const name_info = {"first name": "Yeong-u", "last name": "Kim", nickname: "K."};
const e = "computed property name";

const object = {
	name: {
		*{"first name": forename, "last name": surname}: name_info
	},
	*[a, b, c]: [1, 2, 3],
	*[d]: [4],
	[e]: "This is not part of the syntax"
	*[{"some property name": "new one"}]: [{"some property name": 5}],
	*{gettable: something}: {get gettable() {return Symbol("Using [[Get]]");}}
};
/*
	{
		name: {
			forename: "Yeong-u",
			surname: "Kim"
		},
		a: 1,
		b: 2,
		c: 3,
		d: 4,
		"computed property name": "This is not part of the syntax",
		"new one": 5,
		something: Symbol(Using [[Get]])
	}
*/
```

----------

 I would appreciate hearing your opinion on this.
wlzla000 at naver.com (2018-02-08T09:49:25.460Z)
# Suggestion: Destructuring object initializer.

----------

 Destructuring assignment: it extracts values by destructuring an object, and assign _them_ to ‘variables.’ I suggest Destructuring object initialization syntax; it is similar to Destructuring assignment, except that it initializes an object with _the extracted values_.

```javascript
const name_info = {"first name": "Yeong-u", "last name": "Kim", nickname: "K."};
const e = "computed property name";

const object = {
	name: {
		*{"first name": forename, "last name": surname}: name_info
	},
	*[a, b, c]: [1, 2, 3],
	*[d]: [4],
	[e]: "This is not part of the syntax"
	*[{"some property name": "new one"}]: [{"some property name": 5}],
	*{gettable: something}: {get gettable() {return Symbol("Using [[Get]]");}}
};
/*
	{
		name: {
			forename: "Yeong-u",
			surname: "Kim"
		},
		a: 1,
		b: 2,
		c: 3,
		d: 4,
		"computed property name": "This is not part of the syntax",
		"new one": 5,
		something: Symbol(Using [[Get]])
	}
*/
```

----------

 I would appreciate hearing your opinion on this.