Bite sized JavaScript tutorials for busy developers Follow us on Substack: masteringjs.substack.com

null
JavaScript dates are notoriously tricky to work with. But once you've taken the time to really understand dates, you'll realize that you usually don't need moment, date-fns, etc. For example, add 30 days to a date 👉 masteringjs.io/tutorials/fun… #JavaScript #CodeNewbie
39
Our number one tip for better tech writing: stop using the word "it" Don't say "its failing", at least say "the test is failing" Don't say "its undefined", say "v is undefined" or "the return value is undefined" "It" is usually too vague #JavaScript #CodeNewbie #TechWriting
20
Assertions in Mocha tutorial 👉 masteringjs.io/tutorials/moc… Spoiler alert: we advise using Node's assert module. Never saw the need for a fancypants assertion framework like Chai #JavaScript #CodeNewbie
19
We love Mocha. The best JavaScript test runner out there: 🪨 Stable 💪 Reliable ⏩ Blazing fast Check out our tutorials on Mocha: masteringjs.io/mocha #JavaScript #CodeNewbie
1
63
New Substack issue is out! Building a Hot Dog/Not Hot Dog Image Classifier in JavaScript masteringjs.substack.com/p/b… #JavaScript #100DaysOfCode
1
71
🆕 How To Fix "__dirname is not defined" Error in Node.js masteringjs.io/tutorials/nod… #JavaScript #CodeNewbie
11
New Substack post is out: What Are Good Side Hustles for Web Developers? Revisiting a topic we covered back on our old Revue mailing list. Big change: we now recommend micro SaaS if you're a dev that has marketing chops or wants to learn masteringjs.substack.com/p/w…
14