Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Уточняет доку про способы объявления переменных в джаваскрипт #5642

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
4 changes: 4 additions & 0 deletions js/var-let/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ authors:
- ruslauz
contributors:
- furtivite
- anastasiayarosh
editors:
- tachisis
related:
Expand Down Expand Up @@ -430,3 +431,6 @@ var a = 10
console.log(a)
// 10
```

Несмотря на то, что использование `var` считается устаревшим, полезно разбираться в особенностях его поведения на базовом уровне, потому что `var` может встретиться в коде библиотеки или старом коде проекта.
nasty23-star marked this conversation as resolved.
Show resolved Hide resolved

Loading