What is the output?
Anonymous Quiz
22%
undefined 10 undefined
42%
ReferenceError undefined 10
28%
undefined 10 5
9%
undefined undefined 5
π10π€6β€3
β€14π8
π€£14π€6π5
This media is not supported in your browser
VIEW IN TELEGRAM
π First rule of programming...
π€£33π₯4
π16β€1π₯1
π12π€7β€1
What is the output?
Anonymous Quiz
73%
Hello, Alice! Hello, Bob!
8%
Hello, Alice!
5%
Hello, Bob!
14%
TypeError: person1.greet is not a function
π13β€1
π Issue 21 / 11.07.2023
π Node v20.4.0 Introduces Mock Timers
The latest release of Node includes a new MockTimers API that can make any tests involving time-dependent functionality more reliable and deterministic by mocking `setTimeout, setInterval, node:timers`, and more.
RAFAEL GONZAGA
π Testing the Dark Scenarios of Your Node App
An interesting look at some examples of easily overlooked but nonetheless important tests to have in your app or package. What happens when a service times out, code is mutating things it shouldnβt, or you have zombie processes milling around? These are some of the βdark scenariosβ you can easily be prepared for.
YONI GOLDBERG AND RAZ LUVATON
π TypeScript and ECMAScript Modules in Node.js
An official docs page focusing on the use of ESM with Node.js in TypeScript projects. Weβve linked to this before, but itβs a handy document that continues to be updated.
MICROSOFT
Β©οΈNODE.JS WEEKLY
π Node v20.4.0 Introduces Mock Timers
The latest release of Node includes a new MockTimers API that can make any tests involving time-dependent functionality more reliable and deterministic by mocking `setTimeout, setInterval, node:timers`, and more.
RAFAEL GONZAGA
π Testing the Dark Scenarios of Your Node App
An interesting look at some examples of easily overlooked but nonetheless important tests to have in your app or package. What happens when a service times out, code is mutating things it shouldnβt, or you have zombie processes milling around? These are some of the βdark scenariosβ you can easily be prepared for.
YONI GOLDBERG AND RAZ LUVATON
π TypeScript and ECMAScript Modules in Node.js
An official docs page focusing on the use of ESM with Node.js in TypeScript projects. Weβve linked to this before, but itβs a handy document that continues to be updated.
MICROSOFT
Β©οΈNODE.JS WEEKLY
π₯8
π© APIs and SDKs
π§² threads-api: Unofficial Client API for Meta's Threads
A way to use Metaβs Twitter-a-like from Node? This seems like the sort of thing that wonβt work in a month or two, but who knows.. many Instagram libraries have done very well despite a lack of official support.
JUNHO YEO
π§²π΅ Spotify Unveils a TypeScript SDK for its Web API
Now this is officially supported. The popular music streaming service has long had a Web API for getting information about songs, managing playlists, controlling playback, etc. and now thereβs an officially supported TypeScript SDK for it. This post includes some handy examples.
JO FRANCHETTI (SPOTIFY)
π§² threads-api: Unofficial Client API for Meta's Threads
A way to use Metaβs Twitter-a-like from Node? This seems like the sort of thing that wonβt work in a month or two, but who knows.. many Instagram libraries have done very well despite a lack of official support.
JUNHO YEO
π§²π΅ Spotify Unveils a TypeScript SDK for its Web API
Now this is officially supported. The popular music streaming service has long had a Web API for getting information about songs, managing playlists, controlling playback, etc. and now thereβs an officially supported TypeScript SDK for it. This post includes some handy examples.
JO FRANCHETTI (SPOTIFY)
π7β€3