A Modern JavaScript Tutorial
javascript.info
A Modern JavaScript Tutorial
1–10 of 299 posts
Re: A Modern JavaScript Tutorial
#2In older scripts, you may also find another keyword: var instead of let
Re: A Modern JavaScript Tutorial
#3Re: A Modern JavaScript Tutorial
#4I'm not sure now which sections are and aren't.
Re: A Modern JavaScript Tutorial
#5Re: A Modern JavaScript Tutorial
#6Re: A Modern JavaScript Tutorial
#7The default way promises are used is now async/await. `.then()` should not be introduced as anything more than 'you may find this in older codebases'.
Re: A Modern JavaScript Tutorial
#8The ninja code section is pure sarcasm, right? I'm not sure now which sections are and aren't.
Re: A Modern JavaScript Tutorial
#9Re: A Modern JavaScript Tutorial
#10The ninja code section is pure sarcasm, right? I'm not sure now which sections are and aren't.
It might just be my sense of humour (I'm the sort of person that doesn't need an '/s' tag and feels that it shouldn't be necessary if you told the joke properly), but it was pretty obvious to me even without the irony warning that the page was intended as a joke.
It looks like it was heavily inspired by the classic 'Tao of Programming' [0]. It uses a very similar style and even quotes the actual Tao Te Ching.