TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A JavaScript Handbook

239 pointsby flaviocopesover 6 years ago

17 comments

nickcwover 6 years ago
I&#x27;ve been reading this book. I&#x27;m about 50% of the way through now.<p>I learnt JavaScript a long time ago so I wanted something to get me up to speed with ES6 and above. The book succeeds admirably here. It is a little bit repetitive in places, but for free I&#x27;m not going to complain about that.<p>If you are reading this Flavio Copes - thank you :-)
评论 #18435352 未加载
评论 #18437108 未加载
评论 #18435586 未加载
评论 #18434557 未加载
redmattredover 6 years ago
Direct link to the book without having to provide your email address: <a href="https:&#x2F;&#x2F;flaviocopes.com&#x2F;page&#x2F;javascript-handbook&#x2F;" rel="nofollow">https:&#x2F;&#x2F;flaviocopes.com&#x2F;page&#x2F;javascript-handbook&#x2F;</a>
评论 #18435346 未加载
评论 #18435019 未加载
epicideover 6 years ago
Personally, I&#x27;d much rather see a &quot;pay what you want&quot; (even with a minimum of a couple bucks) type of system rather than compulsory email newsletters [0].<p>You can still have the newsletter of course (and even give away copies for signing up). Just please don&#x27;t have it as the ONLY way to get the full book :)<p>[0]: Of course I&#x27;m aware of mailinator, but why waste both our time, in that case?
评论 #18434662 未加载
paraditedcover 6 years ago
I find it odd that it starts with ES6(arrow functions), ES2016, etc and then moved to basics like variables and functions.<p>I guess it works for people with enough experience, but still, I find it odd.<p>Anyway it is free so I can&#x27;t complain too much, subscribed.
评论 #18434860 未加载
PhrosTTover 6 years ago
This looks pretty legit. Seems like a good &quot;If you know how to code this is where JS is at right now.&quot;<p>Source: I call myself a &quot;Front End Engineer&quot;.
snekover 6 years ago
I can see using oversized fonts is a bit of a pattern with this author.
评论 #18433410 未加载
评论 #18437078 未加载
评论 #18434402 未加载
horstschneiderover 6 years ago
Thanks for the book, its clear and to the point.<p>A little feedback:<p>1) I find the description of the different standards (ES2015 - ES2018) to be inconsistent. ES2015 provides a summary of new features as a bullet point list, each item being a jump link to the detailed description. ES2016 and ES2017 do have the summary but no more jump links and ES2018 does not have the summary at all. I think it would be better to navigate if each chapter had the linked summary.<p>2) I guess in ES2017 the trailing comma description is missing a trailing comma:<p><pre><code> This feature allows to have trailing commas in function declarations, and in functions calls: const doSomething = (var1, var2) =&gt; { &#x2F;&#x2F;... } doSomething(&#x27;test2&#x27;, &#x27;test2&#x27;) </code></pre> At least I can not see a trailing comma there.<p>3) Unicode property escapes (p. 33ff) examples do have a comment at the end of each line which I guess is supposed to tell you whether the match will be true or false, but all comments are empty (in the pdf version).<p>4) The template literal interpolation example on page 69 is invalid syntax<p><pre><code> const var = &#x27;test&#x27; const string = `something ${var}` &#x2F;&#x2F;something test </code></pre> as var is a reserved keyword and can not be used as a variable name.<p>5) On pages 76-77, for some reason the formatted code looks different to all other code snippets (and it doesn&#x27;t look good either as it is too huge and kind of blurred)
cssover 6 years ago
FYI to the author, Privacy Badger hides the signup elements on the page because it’s served from a third party marketing CDN.
primitivesuaveover 6 years ago
Thank you, this was actually tremendously useful for me because you used simple language&#x2F;short sentences and are quite thorough. My only remark is that if your intended audience is more on the beginner side, they will likely lose focus early on during the initial history lesson. However if your intended audience is actually me, I found it fascinating and appreciate you making this great free resource!
评论 #18435725 未加载
adobeeeeover 6 years ago
Is there a JavaScript book that only covers the &quot;modern&quot; topics of JS (+DOM API where applicable) My knowledge is probably from 2008
评论 #18433936 未加载
评论 #18434288 未加载
评论 #18434464 未加载
acutesoftwareover 6 years ago
Thanks for this - really nice to read, and cleared up a lot of things I have seen and didn&#x27;t really get.<p>A couple of typos: Page 103 of PDF under &quot;Event bubbling and event capturing&quot; Bubbling and capturing are the 2 models that events use to propagate. Suppose you DOM structure is<p>should be Suppose your DOM structure is<p>Page 153 of PDF under &quot;Operators &gt; Arithmetic operators&quot; It shows Division (<a href="https:&#x2F;&#x2F;flaviocopes.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;flaviocopes.com&#x2F;</a>) but should have been the &#x2F; symbol
NullPrefixover 6 years ago
Hey. Thanks for the book.<p>Btw, page 25. I assume this is some pdf exporting error:<p><pre><code> &#x27;test&#x27;.padStart(8) &#x27; test&#x27;</code></pre>
评论 #18436054 未加载
Moruover 6 years ago
It would have been great as a normal homepage, the pdf format is a bit hard to read on the phone while on the buss :)
评论 #18433753 未加载
matmoover 6 years ago
Nice, this was a good refresher on some of the lesser known parts of the newer specs.<p>+1 for explaining the event loop and job queues<p>-1 for no semi-colons though (kidding ;))
评论 #18437131 未加载
barberousseover 6 years ago
Anyone else getting a bad cert error in Chrome opening this address?
评论 #18433381 未加载
modzuover 6 years ago
well there&#x27;s one very obvious ommission: no mention of Brendan Eich?
评论 #18434254 未加载
评论 #18433943 未加载
keepsmilingover 6 years ago
don&#x27;t waste your time with that.
评论 #18433601 未加载