Skip to content

Commit 5451310

Browse files
authored
Merge pull request #584 from 02zchen/master
Update article.md
2 parents 6fb018f + dafb17a commit 5451310

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

1-js/01-getting-started/1-intro/article.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# An Introduction to JavaScript
22

3-
Let's see what's so special about JavaScript, what we can achieve with it and which other technologies play well with it.
3+
Let's see what's so special about JavaScript, what we can achieve with it, and which other technologies play well with it.
44

55
## What is JavaScript?
66

77
*JavaScript* was initially created to *"make webpages alive"*.
88

9-
The programs in this language are called *scripts*. They can be written right in the HTML and execute automatically as the page loads.
9+
The programs in this language are called *scripts*. They can be written right in the HTML and executed automatically as the page loads.
1010

1111
Scripts are provided and executed as a plain text. They don't need a special preparation or a compilation to run.
1212

@@ -18,15 +18,15 @@ When JavaScript was created, it initially had another name: "LiveScript". But Ja
1818
But as it evolved, JavaScript became a fully independent language, with its own specification called [ECMAScript](http://en.wikipedia.org/wiki/ECMAScript), and now it has no relation to Java at all.
1919
```
2020

21-
At present, JavaScript can execute not only in the browser, but also on the server, or actually on any device where there exists a special program called [the JavaScript engine](https://en.wikipedia.org/wiki/JavaScript_engine).
21+
At present, JavaScript can not only execute in the browser, but also on the server, or actually on any device that has a special program called [the JavaScript engine](https://en.wikipedia.org/wiki/JavaScript_engine).
2222

23-
The browser has an embedded engine, sometimes it's also called a "JavaScript virtual machine".
23+
The browser has an embedded engine, sometimes called a "JavaScript virtual machine".
2424

2525
Different engines have different "codenames", for example:
2626

2727
- [V8](https://en.wikipedia.org/wiki/V8_(JavaScript_engine)) -- in Chrome and Opera.
2828
- [SpiderMonkey](https://en.wikipedia.org/wiki/SpiderMonkey) -- in Firefox.
29-
- ...There are other codenames like "Trident", "Chakra" for different versions of IE, "ChakraCore" for Microsoft Edge, "Nitro" and "SquirrelFish" for Safari, etc.
29+
- ...There are other codenames like "Trident" and "Chakra" for different versions of IE, "ChakraCore" for Microsoft Edge, "Nitro" and "SquirrelFish" for Safari, etc.
3030

3131
The terms above are good to remember, because they are used in developer articles on the internet. We'll use them too. For instance, if "a feature X is supported by V8", then it probably works in Chrome and Opera.
3232

@@ -47,7 +47,7 @@ The modern JavaScript is a "safe" programming language. It does not provide low-
4747

4848
The capabilities greatly depend on the environment that runs JavaScript. For instance, [Node.JS](https://wikipedia.org/wiki/Node.js) supports functions that allow JavaScript to read/write arbitrary files, perform network requests, etc.
4949

50-
In-browser JavaScript can do everything related to webpage manipulation, interaction with the user and the webserver.
50+
In-browser JavaScript can do everything related to webpage manipulation, interaction with the user, and the webserver.
5151

5252
For instance, in-browser JavaScript is able to:
5353

0 commit comments

Comments
 (0)