Skip to content

Commit ca2abc1

Browse files
authored
Translate the article. Vol.1
1 parent 350de05 commit ca2abc1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • 1-js/06-advanced-functions/05-global-object

1-js/06-advanced-functions/05-global-object/article.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

2-
# Global object
2+
# Глобальный объект
33

4-
The global object provides variables and functions that are available anywhere. Mostly, the ones that are built into the language or the host environment1.
4+
Глобальный объект предоставляет переменные и функции, доступные в любом месте программы. В основном те, что встроенны в язык или среду исполнения. The global object provides variables and functions that are available anywhere. Mostly, the ones that are built into the language or the host environment.
55

6-
In a browser it is named "window", for Node.js it is "global", for other environments it may have another name.
6+
В браузере он назыается "window", в Node.js — "global", в другой среде исполнения глобальный объект может называться иначе. In a browser it is named "window", for Node.js it is "global", for other environments it may have another name.
77

8-
For instance, we can call `alert` as a method of `window`:
8+
Например, мы можем вызвать `alert` как метод `window`: For instance, we can call `alert` as a method of `window`:
99

1010
```js run
1111
alert("Hello");

0 commit comments

Comments
 (0)