Skip to content

Commit 81873f5

Browse files
committed
copyedits
1 parent 7ded863 commit 81873f5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ch05.asciidoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ Here's how what we had earlier would have looked like when using ES6 maps. As yo
9696
const map = new Map()
9797
map.set('contra', { description: 'Asynchronous flow control' })
9898
map.set('dragula', { description: 'Drag and drop' })
99-
map.set('woofmark', { description: 'Markdown and WYSIWYG editor' })
99+
map.set('woofmark', {
100+
description: 'Markdown and WYSIWYG editor'
101+
})
100102
console.log([...map])
101103
----
102104

@@ -667,7 +669,8 @@ function listOwnProperties(input) {
667669
}
668670
}
669671
function isObject(value) {
670-
return Object.prototype.toString.call(value) === '[object Object]'
672+
return Object.prototype.toString.call(value) ===
673+
'[object Object]'
671674
}
672675
----
673676

0 commit comments

Comments
 (0)