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

null
🆕 How to Use JavaScript's Object.values() Function: masteringjs.io/tutorials/fun… #JavaScript #CodeNewbie
Vue 3 removed support for filters. But don't worry, you can still use `globalProperties` to register helpers that you can access from any template. More about Vue 3: masteringjs.io/tutorials/vue… #VueJS #JavaScript #CodeNewbie
1
Controversial take: you shouldn't use `forEach()` in modern JavaScript. Only possible exception is if you have a quick one-liner or if you really really know what you're doing. Here's why: masteringjs.io/tutorials/fun… #JavaScript #CodeNewbie
6
12
16
Most life-changing skill we've learned this year: Shift+Tab to dedent code 1 level. Works in VSCode and Carbon. Singlehandedly saved us probably 10k "delete" button clicks. #DEVCommunity #JavaScript
2
Everybody uses `mongoose.Schema.Types.ObjectId` to define ObjectId paths in @mongoosejs schemas... But did you know you can also use 'ObjectId' as a string, or `mongoose.ObjectId`? 😎 #NodeJS #MongoDB #CodeNewbie
3
1
How to assert that an array of objects have the expected `title` property, using `map()`. Here's how you can throw in `filter()` for even more magic 🙌masteringjs.io/tutorials/fun… #JavaScript #CodeNewbie
2
Love our tutorials? Sign up for our weekly newsletter and never miss a tutorial! getrevue.co/profile/masterin…
Love our tutorials? Sign up for our weekly newsletter and never miss a tutorial! getrevue.co/profile/masterin…
🆕 How to Send Headers With an Axios POST Request: masteringjs.io/tutorials/axi… #JavaScript #CodeNewbie
1
Love our tutorials? Sign up for our weekly newsletter and never miss a tutorial! getrevue.co/profile/masterin…