Skip to content

Commit 5f36f4a

Browse files
committed
types-grammar, ch4: chapter summary
1 parent 976d472 commit 5f36f4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

types-grammar/ch4.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1845,7 +1845,11 @@ I will leave you to ponder this: do you really think it's a good idea to write c
18451845
18461846
## What's Left?
18471847
1848-
// TODO
1848+
I hope by now you're feeling a lot more informed about how JS's type system works, from primitive value types to the object types, to how type coercions are performed by the engine.
1849+
1850+
More importantly, you also now have a much more complete picture of the pros/cons of the choices we make using JS's type system, such as choosing *implicit* or *explicit* coercions at different points.
1851+
1852+
But we haven't fully covered the context in which the type system operates. For the remainder of this book, we'll turn our attention to the syntax/grammar rules of JS that govern how operators and statements behave.
18491853
18501854
[^EichCoercion]: "The State of JavaScript - Brendan Eich", comment thread, Hacker News; Oct 9 2012; https://news.ycombinator.com/item?id=4632704 ; Accessed August 2022
18511855

0 commit comments

Comments
 (0)