Use consistent single quotes

This commit is contained in:
Rauno Freiberg 2018-02-16 16:24:04 +02:00 committed by GitHub
parent d177021cb2
commit 6ebd835202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
es6.md
View File

@ -235,7 +235,7 @@ Destructuring of objects and arrays can be also be done in function arguments.
### Default values in destructured function arguments ### Default values in destructured function arguments
```js ```js
function greet({ name = "Rauno", greeting = "Hello" } = {}) { function greet({ name = 'Rauno', greeting = 'Hello' } = {}) {
console.log(`${greeting}, ${name}!`); console.log(`${greeting}, ${name}!`);
} }
``` ```