Что будет в консоли / Разбираем ['1', '2', '3'].map(parseInt)
A friend of mine (Sasha, hi!) gave me this problem to solve. Take a look at this single line of code and try your hand at being a JavaScript engine. What will be the output? ['1', '2', '3'].map(parseInt); // ? So, let's check? Drumroll: [1, NaN, NaN] If your answer matches, feel free to turn off this video. I have nothing new to tell you. But if the answer doesn't match, let's figure it out. Contents: 00:00 Problem Statement 00:39 Writing the Code 01:35 Checking the Answer 02:49 The ParseInt Method 03:56 The Map Method 05:20 Examining the Code 06:43 Problem Found 08:19 Summary Useful Links: My blog on Telegram: https://t.me/antonovjs https://developer.mozilla.org/en-US/d... https://developer.mozilla.org/en-US/d...

▶︎
Всё про деструктуризацию в JavaScript / от объектов до Map

▶︎
Interview Problems / Algorithms. Two Pointers

▶︎
Richard Stallman: The Most Inconvenient Man in IT

▶︎
Как вызвать функцию в JavaScript / 5 способов

▶︎
Myths About India: An Indian Explains India | Stereotypes, Food, Cows, Castes, and English

▶︎
null и undefined / Как проверить значение на null (для новичков)

▶︎
Head of Claude Code: What happens after coding is solved | Boris Cherny

▶︎
1,000+ Tokens/Sec: Google Just Shattered the AI Speed Limit (DiffusionGemma)

▶︎
Вспоминаем лучшие серии четвертого сезона | Смешарики 2D. Сборник 2026!

▶︎
Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

▶︎
WTF is going on?!

▶︎
Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

▶︎
MergeConf. Доклад «Архитектура web-приложений. Подготовка к сложному интервью»

▶︎
TypeScript / Урок 22. Mapped Types

▶︎
Free apartments in the USSR — a myth that millions still believe in | The Documentary

▶︎
4 Hours of Deep Focus Music for Studying - Concentration Music For Deep Thinking And Focus

▶︎
Learn Django in 20 Minutes!!

▶︎
