Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e4a8384

Browse files
Update article.md
Fix grammatical errors.
1 parent f57be1b commit e4a8384

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Let's see what's so special about JavaScript, what we can achieve with it and wh
88

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

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

1313
In this aspect, JavaScript is very different from another language called [Java](http://en.wikipedia.org/wiki/Java).
1414

@@ -26,7 +26,7 @@ Different engines have different "codenames", for example:
2626

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

3131
These terms above are good to remember, because they are used in developer articles in 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

@@ -72,7 +72,7 @@ The examples of such restrictions are:
7272

7373
That is called a "Same Origin Policy". To workaround that, *both pages* must contain a special JavaScript code that handles data exchange.
7474

75-
The limitation is again for a user's safety. A page from `http://anysite.com` which a user has opened occasionaly must not be able to open or access another browser tab with the URL `http://gmail.com` and steal information from there.
75+
The limitation is again for user's safety. A page from `http://anysite.com` which a user has opened occasionaly must not be able to open or access another browser tab with the URL `http://gmail.com` and steal information from there.
7676
- JavaScript can easily communicate over the net to the server where the current page came from. But it's ability to receive data from other sites/domains is crippled. Though possible, it requires the explicit agreement (expressed in HTTP headers) from the remote side. Once again, that's safety limitations.
7777

7878
![](limitations.png)
@@ -109,13 +109,13 @@ The modern tools make the transpilation very fast and transparent, actually allo
109109
Examples of such languages:
110110

111111
- [CoffeeScript](http://coffeescript.org/) is a "syntax sugar" for JavaScript, it introduces shorter syntax, allowing to write more precise and clear code. Usually Ruby guys like it.
112-
- [TypeScript](http://www.typescriptlang.org/) is concentrated on adding "strict data typing", to simplify development and support of complex systems. Developed by Microsoft.
113-
- [Dart](https://www.dartlang.org/) is a standalone language that has it's own engine that runs in non-browser environments (like mobile apps). It was initially offered by Google as a replacement for JavaScript, but as of browsers require it to be transpiled to JavaScript just like the ones above.
112+
- [TypeScript](http://www.typescriptlang.org/) is concentrated on adding "strict data typing", to simplify development and support of complex systems. It is developed by Microsoft.
113+
- [Dart](https://www.dartlang.org/) is a standalone language that has it's own engine that runs in non-browser environments (like mobile apps). It was initially offered by Google as a replacement for JavaScript, but as of now, browsers require it to be transpiled to JavaScript just like the ones above.
114114

115115
There are more. Of course even if we use one of those languages, we should also know JavaScript, to really understand what we're doing.
116116

117117
## Summary
118118

119-
- JavaScript was initially created as a browser-only language, but now used in many other environments as well.
120-
- At this moment, JavaScript as a unique position as a most widely adopted browser language with full integration with HTML/CSS.
121-
- There are over languages that get "transpiled" to JavaScript and provide certain features. It is recommended to take a look at them, at least briefly, after mastering JavaScript.
119+
- JavaScript was initially created as a browser-only language, but now it is used in many other environments as well.
120+
- At this moment, JavaScript has a unique position as a most widely adopted browser language with full integration with HTML/CSS.
121+
- There are many languages that get "transpiled" to JavaScript and provide certain features. It is recommended to take a look at them, at least briefly, after mastering JavaScript.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /