JavaScript
32.1K subscribers
1.05K photos
10 videos
33 files
726 links
A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript πŸš€ Don't miss our Quizzes!

Let's chat: @nairihar
Download Telegram
πŸ€”24πŸ‘12🀣5πŸ‘Ž2πŸ”₯2
ES6-ES10 Cheat Sheet for Developers

ES6, ES7, ES8, ES9, and ES10 (also known as ES2015, ES2016, ES2017, ES2018, ES2019, and ES2020) are different versions of the ECMAScript language standard, which is the specification for scripting languages that JavaScript is based on.

Robert E. Hilton


✨ Send this to the person who you think is the best at ECMAScript specifications!
πŸ”₯18❀5πŸ‘4
CHALLENGE #135
πŸ”₯13🀣5πŸ‘3❀2πŸ€”1
πŸ“Œ Issue 36 / 15.09.2023


πŸ“„ Bun 1.0: Is It a Toolkit? Is It a Runtime? It's Both

You’ve used Node, you’ve seen Deno, now Bun has grown up too. It’s a performance-oriented server-side JS runtime built atop JavaScriptCore and makes the unique claim of being β€œa drop-in replacement for Node.js.” It includes extras like transpilation, bundling, package management, and a Jest-compatible test runner too. The post goes into a lot of depth, but we enjoyed the Bun team’s ▢️ 10 minute introductory video. Does Bun deliver on all its promises yet? No. Is it promising? Yes.

JARRED SUMNER ET AL.
πŸ“„ 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
πŸ”₯8
CHALLENGE #136
πŸ”₯2
πŸ‘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)
πŸ‘6❀2πŸ”₯2
CHALLENGE #137
πŸ‘4πŸ€”1
What is the output?
Anonymous Quiz
35%
undefined
21%
Error
44%
string
πŸ€”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
πŸ‘6
CHALLENGE #133
πŸ€”22🀣9πŸ‘6πŸ‘Ž6
Ohhh Regex πŸ˜…

✨ Send this to the person who you think is the best at Regex!
🀣41πŸ‘9❀2
CHALLENGE #134
πŸ‘14πŸ€”4❀1
Do you like the idea of 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
CHALLENGE #135
πŸ€”1
What is the output?
Anonymous Quiz
52%
End 1 2 3
26%
1 2 3 End
22%
3 2 1 End
🀣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 --import flag for pre-loading ESM modules, like how --require does for CommonJS modules.


©️NODE.JS WEEKLY
❀5πŸ‘2