What is the output?
Anonymous Quiz
22%
Start, Middle, End, Done
15%
Start, End, Done, Middle
25%
Start, End, Middle, Done
38%
Start, Middle, Done, End
๐16๐ค15โค7๐ฅ2
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐42โค27๐คฃ14๐ฅ10๐ค5
CHALLENGE
function* gen() {
yield* [1, 2, 3].map(x => x * 2);
}
const iterator = gen();
console.log(iterator.next().value);
console.log(iterator.next().value);
console.log(iterator.next().value);
console.log(iterator.next().value);
๐5
What is the output?
Anonymous Quiz
17%
2, 4, 6, Error
23%
2, 4, 6, 12
52%
2, 4, 6, undefined
8%
2, 4, 6, 6
โค10๐7๐ฅ2๐คฃ2
Most image libraries, such as the powerful Sharp, lean on external libraries to do the heavy lifting, but Jimp can handle BMPs, GIFs, JPEGs, PNGs, and TIFFs on its own for blurring, color adjustments, resizing, rotation, etc. GitHub repo.
jimp Contributors
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ฅ10๐6โค1๐คฉ1
CHALLENGE
console.log(MyClass);
class MyClass {
constructor() {
this.value = 42;
}
}
โค2๐1
What is the output?
Anonymous Quiz
24%
Error
26%
class MyClass { ... }
32%
undefined
18%
[Function: MyClass]
๐13๐ฅ3โค2
Node.js introduces the
--experimental-strip-types
flag for initial TypeScript support. This feature strips type annotations from .ts
files, allowing them to run without transforming TypeScript-specific syntax. Current limitations include:- Supports only inline type annotations, not features like enums or namespaces.
- Requires explicit file extensions in import and require statements.
- Enforces the use of the type keyword for type imports to avoid runtime errors.
- Disabled for TypeScript in node_modules by default.
Rafael Gonzaga
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐6๐ฅ4โค2๐คฉ1
CHALLENGE
async function foo() {
console.log('Start');
await Promise.resolve().then(() => {
console.log('Inside Promise');
});
console.log('End');
}
foo();
console.log('Outside');
๐8๐ค5โค3๐ฅ3
What is the output?
Anonymous Quiz
41%
Start, Inside Promise, End, Outside
14%
Start, Inside Promise, Outside, End
25%
Start, Outside, End, Inside Promise
21%
Start, Outside, Inside Promise, End
๐7๐ค4
An interesting exploration of how things currently work with copy and pasting on the web, how different data types are treated, and what the Web Custom Formats proposal is putting forward.
Alex Harri Jรณnsson
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐12โค4๐ฅ2๐คฉ1
real-nextjs-scalable-performance.pdf
8.9 MB
Build scalable, high-performance, and modern web applications using Next.js, the React framework for production
Michele Riva
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ฅ7โค4๐3
We just pushed ESLint v9.10.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
- Types now included
eslint
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐11๐ฅ3โค1
nodejs_web_development_fifth_edition.pdf
7.1 MB
Server-side web development made easy with Node 14 using practical examples
David Herron
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐8โค4๐ฅ3
Some of the earlier JavaScript build tools focused on allowing developers to write modern JavaScript code that could still run on the browsers of the time by compiling code down to ES5. Time has moved on, but have the tools or popular libraries? Philip investigates, and shares some recommendations.
Philip Walton
Please open Telegram to view this post
VIEW IN TELEGRAM
4๐8โค1๐ฅ1
Professional_JavaScript_for_Web_Developers_4th_Edition.pdf
19.5 MB
A comprehensive guide to mastering JavaScript for building dynamic, modern web applications.
Matt Frisbie
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐18๐ฅ5โค4
Fullstack React: The Complete Guide to ReactJS and Friends
Stop wasting your time learning React with incomplete and confusing tutorials. There are so many incorrect, confusing, and out-of-date blog articles One tutorial says one thing and another says something completely different. ...
Anthony Accomazzo, Nate Murray, Ari Lerner
Stop wasting your time learning React with incomplete and confusing tutorials. There are so many incorrect, confusing, and out-of-date blog articles One tutorial says one thing and another says something completely different. ...
Anthony Accomazzo, Nate Murray, Ari Lerner
2โค13๐ฅ3๐2
If youโre familiar with Sindreโs powerful Execa for running commands from a Node app in a robust manner, nano-spawn offers its core functionality in a smaller package and remains a better option than child_process in any case.
Sindre Sorhus and ehmicky
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐4โค2๐ฅ1
rest-api-development-with-node-js.pdf
6.4 MB
Manage and Understand the Full Capabilities
of Successful REST Development
Fernando Doglio
Please open Telegram to view this post
VIEW IN TELEGRAM
2๐15โค4๐ฅ3
Eloquent_JavaScript.pdf
2.3 MB
A Modern Introduction to Programming
Marijn Haverbeke
Please open Telegram to view this post
VIEW IN TELEGRAM
โค11๐6๐ค2