Тёмный

Semicolons In JavaScript; Where And Why? 

ByteGrad
Подписаться 132 тыс.
Просмотров 465
50% 1

A JavaScript program is a sequence of statements...
👉 Professional JavaScript Course: bytegrad.com/professional-jav...
👉 Professional CSS Course: bytegrad.com/professional-css...
👉 Email newsletter (get notified of new courses): email.bytegrad.com
A JavaScript program is a sequence of statements. Statements are separated by a semicolon.
Using semicolons is NOT mandatory, if you don't use them the JavaScript engine will sort of automatically insert them (Automatic Semicolon Insertion or ASI) -- this may cause bugs.
💻 Premium Courses:
Professional JavaScript: bytegrad.com/professional-jav...
Professional CSS: bytegrad.com/professional-css...
All courses: bytegrad.com/courses
🔔 Email newsletter (get notified of new courses): email.bytegrad.com
⏱️ Timestamps:
0:00 - Why semicolons in JS
0:44 - Where should you use semicolons
1:47 - Where should you NOT use semicolons
3:19 - Should you use semicolons
4:09 - Professional JavaScript Course preview
#javascript #javascriptsemicolons #jssemicolons #js #jstutorial #webdevelopment #coding #programming

Наука

Опубликовано:

 

4 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@ByteGrad
@ByteGrad 2 года назад
Semicolons seems like a silly topic but it comes up quite often... It's not mandatory to use but it adds structure at little cost - making it easier to read IMHO.
@tomdon3951
@tomdon3951 2 года назад
This is literally the only video I’ve see that actually clears up the semicolon issue. Ty
Далее
JavaScript: Should You Use Semicolons Or Not?
2:57
Просмотров 2,6 тыс.
The BEST way to host Next.js websites
17:37
Просмотров 25 тыс.
Krillin Vs Cell
2:36
Просмотров 123 тыс.
Dockerize Next.js & Deploy to VPS (EASY!)
19:43
Просмотров 46 тыс.
Learn useMemo In 10 Minutes
10:42
Просмотров 468 тыс.
Игровой Комп с Авито за 4500р
1:00
Магниты и S Pen 🖊️
0:37
Просмотров 80 тыс.