OSDN Git Service
(root)
/
twpd
/
master.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Regular updates
[twpd/master.git]
/
es6.md
diff --git
a/es6.md
b/es6.md
index
3354696
..
c74dd5f
100644
(file)
--- a/
es6.md
+++ b/
es6.md
@@
-415,7
+415,7
@@
numbers.map(n => n * 2)
// Same as: numbers.map(function (n) { return n * 2 })
numbers.map(n => ({
result: n * 2
-})
+})
)
// Implicitly returning objects requires parentheses around the object
```
{: data-line="1,4,5,6"}