Загрузка страницы

How for/while/do loops REALLY work in JavaScript and how they're all the same at a byte code level

In this video we will look at how your Javascript code works at a bytecode level.

We look in particular at how for loops, while loops are represented at a byte code level and how they are represented as the same underneath. Not only we do look at loops but we also look at conditionals such as if statements and ternary operators and how they are represented.

All in all, we use the popular FizzBuzz coding exercise to bring this to life, and we finish it off with a light bit of code golf.

00:00 Introduction
01:17 What is FizzBuzz
02:57 Coding FizzBuzz
09:23 FizzBuzz bytecode
12:09 while loop bytecode
15:20 do loop bytecode
17:25 for loop bytecode without conditionals
20:20 while loop without conditionals and with jump labels bytecode
25:00 for..in bytecode
28:00 if statement bytecode
36:30 ternary operator
40:00 code golf
43:40 conclusion
This video really focuses on how you can become an Advanced JavaScript developer through focusing on how your source code gets translated into bytecode by the ignition interpreter in the Javascript V8 engine that powers chrome, chromium browsers and nodejs.

This video is beginner friendly.

Видео How for/while/do loops REALLY work in JavaScript and how they're all the same at a byte code level канала Chris Hay
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
20 октября 2021 г. 21:30:08
00:45:53
Яндекс.Метрика