- Yet another way of doing a nullish check: if (Object.is(a ?? null, null)) { /* a is either null or undefined */ } https://dev.to/noseratio/a-few-handy-javascript-tricks-an9#null-or-undefined 3 comments javascript
- A few handy JavaScript tricks https://dev.to/noseratio/a-few-handy-javascript-tricks-an9 105 comments javascript
Linking pages
Linked pages
- Thenable: how to make a JavaScript object await-friendly, and why it is useful - DEV Community 👩💻👨💻 https://dev.to/noseratio/we-can-make-any-javascript-object-await-able-with-then-method-1apl 50 comments
- "Real" Mixins with JavaScript Classes http://justinfagnani.com/2015/12/21/real-mixins-with-javascript-classes/ 19 comments
- Nullish coalescing operator (??) - JavaScript | MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator 6 comments
- Await inside JavaScript template strings - DEV Community 👩💻👨💻 https://dev.to/noseratio/await-inside-javascript-template-strings-3kbj 5 comments
- EventTarget.addEventListener() - Web APIs | MDN https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener 4 comments
- JS Comparison Table http://dorey.github.io/JavaScript-Equality-Table/unified/ 2 comments
- void operator - JavaScript | MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void 1 comment
- Logical assignment · V8 https://v8.dev/features/logical-assignment 0 comments
- Promise.race() - JavaScript | MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race 0 comments
Would you like to stay up to date with Web Development? Checkout Web Development
Weekly.
Related searches:
Search whole site: site:dev.to
Search title: A few handy JavaScript tricks - DEV Community
See how to search.