JavaScript
32K subscribers
1.04K photos
10 videos
33 files
720 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
CHALLENGE #13
❀2πŸ‘2πŸ”₯1
What is the output?
Anonymous Quiz
17%
Infinity
36%
-Infinity
27%
Error
20%
undefined
πŸ”₯9πŸ‘4πŸ‘Ž3πŸ‘3
πŸ“° QUICK UPDATES

πŸ“„ The TypeScript team released a new VS Code extension named Deopt Explorer, which can analyze trace logs produced by V8 in order to (in their words) help prevent the β€œslow creep of megamorphism.”

Ron Buckton

πŸ“„ Chat UI, the chat interface powering apps with SvelteKit and various OSS models like OpenAssistant.

HuggingChat team
πŸ‘3
CHALLENGE #14

Update - The c
orrect answer is (2, undefined)
πŸ‘14πŸ‘Ž2
πŸ—ž Issue 5 / 16.05.2023


πŸ“„ How to host website on Android phone

This blog is running on my $180 Android phone running Android 11. This post describes how I turned my Android device into a web server which can be accessed from a public URL, and how you can do it too.


PINGGY


πŸ“„ Reducing the cost of string serialization in Node.js core

Is it possible to reduce the cost of string serialization in Node, particularly in the context of URL parsing? Research was done and the answer is.. yes, by quite a lot too. Benchmarks included.

YAGIZ NIZIPLI


©️JS WEEKLY
πŸ”₯4⚑3
RELEASES / UPDATES

Jasmine 5.0
The popular JavaScript testing framework gains support for parallel execution in Node.

Official MongoDB Node.js Driver 5.5

nodeenv 1.8
Create isolated Node environments.

TestCafe 2.6
End-to-end web testing with Node.
ARTICLES & TUTORIALS

πŸ“ƒ Your Jest Tests Might Be Wrong

Is your Jest test suite failing you? You might not be using the testing framework’s full potential, especially when it comes to preventing state leakage between tests.

JAMIE MAGEE


πŸ“„ How to Handle Emojis in Node

A quick look under the covers for anyone who doesn’t understand why β€˜πŸ˜β€™.length equals 2 or how characters like emoji are internally represented.

MANUEL SPIGOLON


πŸ“„ cRonstrue: Library to Convert cron Expressions into Human Readable Form

The idea is that given something like */5 * * * *, it will return β€œEvery 5 minutes”. No dependencies.

BRADY HOLT
πŸ‘6
5 ways to define a function in Javascript πŸ”₯
πŸ”₯22πŸ‘8
Semicolon ; πŸ˜‚
😁22🀣8
CHALLENGE #15
What is the output?
Anonymous Quiz
46%
1
32%
0
22%
Error
πŸ€”21πŸ‘7
The Parallax Effect

The Parallax Effect is an optical illusion that can give a website the appearance of 3D depth.


Fireship πŸ”₯
πŸ”₯11
When you've learned all the JavaScript fundamentals πŸ˜…
😁27
CHALLENGE #16
πŸ‘10
πŸ‘10
πŸ”₯7
A quiz website that you can use to ace your next job interview or brush up on a specific JS topic!

πŸ‘‰ Take the quiz

@ojhabhumika28
πŸ™5❀4
πŸ—ž Issue 6 / 19.05.2023


πŸ“„ Bun's New Bundler: 220x Faster than webpack

Bun is one of the newest JavaScript runtimes (built atop the JavaScriptCore engine) and focuses on speed while aiming to be a drop-in replacement for Node.js. This week’s v0.6.0 release is the β€˜biggest release yet’ with standalone executable generation and more, but its new JavaScript bundler and minifier may attract most of the attention and this post digs into why.

JARRED SUMNER


πŸ“„ jQuery 3.7.0 Released

JavaScript Weekly is 638 issues old, or almost 13 years once you take away weeks off, so jQuery was a big deal in our early days. We hold a lot of nostalgia for it, and it remains widely used even if no-one is writing about it anymore v3.7 folds the Sizzle selector engine into the core, adds some unitless CSS properties, gains a new uniqueSort method, and β€œmajor changes” are still promised in future. jQuery lives on!

TIMMY WILLISON (JQUERY FOUNDATION)


©️JS WEEKLY
❀5πŸ‘2
️IN BRIEF

πŸ“œ TC39's Hemanth.HM has begun keeping a list of ES2023 code examples like he did for ES2022, ES2021, and ES2020.

πŸ“œ Promise.withResolvers progressed to stage 2 at the latest TC39 meeting.

πŸ“œ The folks at Meta / Facebook have written about the efficiency gains made in Messenger Desktop by moving from Electron to React Native.

πŸ“œ One downside to platforms like Cloudflare Workers using V8 isolates has been a lack of support for opening TCP sockets – quite an impediement if you want to talk to a RDBMS over TCP or something. Fear no more, Cloudflare Workers has introduced a connect() API for creating TCP sockets from Workers functions.
πŸ‘2