π Why Does every() Return true for Empty Arrays?
Nicholas wondered how a condition can possibly be satisfied when there arenβt any values to test, so he dug into the language specs to understand the logic.
NICHOLAS C. ZAKAS
Β©οΈJS WEEKLY
Nicholas wondered how a condition can possibly be satisfied when there arenβt any values to test, so he dug into the language specs to understand the logic.
NICHOLAS C. ZAKAS
Β©οΈJS WEEKLY
π₯8
What is the output?
Anonymous Quiz
47%
Hello world!, Goodbye world!
24%
Hello world!, undefined
17%
Hello world!, Error
12%
Error
π19π€£17π€4π3
β‘οΈ IN BRIEF:
- π ViteConf is taking place this October 5-6. It's free and online.
- The August 2023 build of VS Code has just been released and includes improvements to the JS debugger including WebAssembly module decompilation, as well as Move to File and Inline Variable refactorings.
- Linus Groh is working on a JavaScript engine in Zig called Kiesel, mostly as a learning project, but it's passing 25% of test262 after four months of effort.
- While searching for something else, I encountered this JavaScript tutorial from 1996 that's still online. Amazingly, most of it still works fine today.
- Esteemed Microsoft code archaeologist Raymond Chen looks at how freestanding JS functions using this can be mistaken for a constructor by VS Codeβs static analyzer.
π RELEASES:
MikroORM 5.8 β Powerful Node.js ORM.
Reason 3.10 β Write code in OCaml, but for the JS ecosystem.
Happy DOM 11.0 β A JS implementation of a web browser sans UI.
Node.js v20.6.1 (Current)
- π ViteConf is taking place this October 5-6. It's free and online.
- The August 2023 build of VS Code has just been released and includes improvements to the JS debugger including WebAssembly module decompilation, as well as Move to File and Inline Variable refactorings.
- Linus Groh is working on a JavaScript engine in Zig called Kiesel, mostly as a learning project, but it's passing 25% of test262 after four months of effort.
- While searching for something else, I encountered this JavaScript tutorial from 1996 that's still online. Amazingly, most of it still works fine today.
- Esteemed Microsoft code archaeologist Raymond Chen looks at how freestanding JS functions using this can be mistaken for a constructor by VS Codeβs static analyzer.
π RELEASES:
MikroORM 5.8 β Powerful Node.js ORM.
Reason 3.10 β Write code in OCaml, but for the JS ecosystem.
Happy DOM 11.0 β A JS implementation of a web browser sans UI.
Node.js v20.6.1 (Current)
π6β€2π₯2
π€24π16π€£2π1
Benchmarking 24 CSV Parsing Approaches
Certainly the most extensive Node.js CSV parsing benchmark Iβve seen. The author, himself the creator of the uDSV CSV parsing library, wanted to contest the common βlightning fast performanceβ claims of other CSV parsing libaries. Unsurprisingly, ΞΌDSV tends to win in all but a couple of cases.
LEON SOROKIN
Certainly the most extensive Node.js CSV parsing benchmark Iβve seen. The author, himself the creator of the uDSV CSV parsing library, wanted to contest the common βlightning fast performanceβ claims of other CSV parsing libaries. Unsurprisingly, ΞΌDSV tends to win in all but a couple of cases.
LEON SOROKIN
π6
π€22π€£9π6π6
π14π€4β€1
Do you like the idea of
π€ New Keyword "using" in JavaScript!
π€ TypeScript 5.2's New Keyword: 'using'
Check also this proposal in TC39!
proposal-explicit-resource-management
using
in JavaScript/TypeScript?π€ New Keyword "using" in JavaScript!
π€ TypeScript 5.2's New Keyword: 'using'
Check also this proposal in TC39!
proposal-explicit-resource-management
π7π€6π1
π€£16β€7π€7
π Issue 37 / 19.09.2023
π Does Node.js Need a Mascot?
Go has its cute gopher, Deno has a dinosaur, Bun has, well.. a bun, but what does Node have? Nothing official, as such, and Matteo Collina ponders whether we should change that. Most of the suggestions seem tongue in cheek, but the Node homepage does feel a little bare without something..
MATTEO COLLINA ET AL.
π‘ Node v18.18.0 (LTS) has also been released and introduces the
Β©οΈNODE.JS WEEKLY
π Does Node.js Need a Mascot?
Go has its cute gopher, Deno has a dinosaur, Bun has, well.. a bun, but what does Node have? Nothing official, as such, and Matteo Collina ponders whether we should change that. Most of the suggestions seem tongue in cheek, but the Node homepage does feel a little bare without something..
MATTEO COLLINA ET AL.
π‘ Node v18.18.0 (LTS) has also been released and introduces the
--import
flag for pre-loading ESM modules, like how --require
does for CommonJS modules.Β©οΈNODE.JS WEEKLY
β€5π2
ASIDES:
- What do you think about embedding SQLite in Node? There's little consensus so far, but it's an interesting discussion.
- Looking out for a better coding font? Matej Latin has an analysis of 5 monospaced fonts that include coding ligatures.
- What do you think about embedding SQLite in Node? There's little consensus so far, but it's an interesting discussion.
- Looking out for a better coding font? Matej Latin has an analysis of 5 monospaced fonts that include coding ligatures.
π4β€3π₯3
π12π11β€2π₯1π€£1
Nue is a powerful React, Vue, Next.js, Vite, and Astro alternative that calls itself a βFrontend Troublemaker.β And I demand to know which Nue developer directly copied that slogan from my left bicep tattoo without my permission. π€©
π₯6π4β€1π€1