JavaScript: What does let a = b = 1; actually mean?

preview_player
Показать описание
#javascript #javascriptassociativity #assignmentoperators
Assignment operators are right-associative.
The variables declared with let are block scope variables so not available outside the block but available inside the block.
The variables declared with let are function scope variables so not available outisde the function but available inside function.
The variables declared witout let const or var are global variables.

JavaScript | What does it mean

JavaScript | Select HTML elements

10 Seconds of JavaScript

JavaScript quick tips

JavaScript Shorts

JavaScript Arrays Shorts

JavaScript Arrays

JavaScript Classes Shorts

JavaScript Objects

JavaScript Fetch API TUTORIALS

An Example of JavaScript ...

JavaScript Classes

JSON

JavaScript vs CSS

100 SHORTS TO START LEARNING WEB DEVELOPMENT

🔗 JavaScript Scope

JAVASCRIPT LONGS

JavaScript functions

JAVASCRIPT FOR BEGINNERS

Javascript Challenge; first to know wins

Javascript ... Spread and ... Rest Operators

HTML SHORTS FOR BEGINNERS

Table (HTML, CSS, Bootstrap, Javascript, jQuery)

Javascript Clean Code

Visual Studio Code Shorts

Bootstrap Shorts

Long Tutorials HTML CSS JAVASCRIPT AND JQUERY

Jquery Shorts

HTML shorts

CSS Shorts
Рекомендации по теме
Комментарии
Автор

It makes it a global variable, which is avoided behavior. To fix these things ‘use strict’ is used

ream_