File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Oh, hello there
22
3- > This chapter has been authored by Konrad Klawikowski and Gadila Shashank Reddy.
3+ > This chapter has been authored by Skayo and Gadila Shashank Reddy.
44
5- Welcome to the JavaScript chapter! I would like to let you know a bit more about
6- JavaScript and programming in that language .
5+ Welcome to the JavaScript chapter! We would like to let you know a bit more about
6+ JavaScript and programming in JavaScript .
Original file line number Diff line number Diff line change @@ -21,4 +21,5 @@ static content was served and the user was only able to read it.
2121
2222Even further improvements meant that JS was able to handle server-side scripts and computing and
2323also used in developing native and stand-alone applications instead of being only restricted to the
24- browser environment.
24+ browser environment. Also JacvaScript has a relatively high speed of execution though not as fast
25+ as C or Rust.
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ gateway to exploit negligent or non careful users.
1212
1313## Regarding the authors
1414
15- This chapter was originally written by Konrad Klawikowski and additions were made to it
16- by Gadila Shashank Reddy. For the original chapter written by Konrad, see
17- [ here.] ( https://github.com/Skayo/Community-Programming-Book/tree/e4d4f35d8236ce589e6d8c35df5dd05388e3541f /book/languages/js )
15+ This chapter was originally written by Skayo and additions were made to it
16+ by Gadila Shashank Reddy. For the original content written by Konrad, see
17+ [ here.] ( https://github.com/Skayo/Community-Programming-Book/tree/f8c9cf8fc2d7cad783f85393e3e5103f8bc76b35 /book/languages/js )
Original file line number Diff line number Diff line change 1212* The Mozilla Foundation was founded in 1998 by the members of Netscape Communications.
1313
1414* JS is licensed by Oracle to Netscape Communications then and currently to the Mozilla Foundation.
15+
16+ ## An Example
17+
18+ This section will compare Hello World program in JavaScript with other languages.
19+
20+ ### JavaScript
21+
22+ ``` JavaScript
23+ " use strict" // This declares strict mode and using it is a good security practice.
24+ console .log (" Hello world!" ); // semicolon is not mandatory but recommended
25+ ```
26+
27+ ### Kotlin
28+
29+ ``` Kotlin
30+ fun main (args : Array <String >) {
31+ println (" Hello world!" )
32+ }
33+ ```
34+
35+ ### Python
36+
37+ ``` Python
38+ print " Hello world!"
39+ ```
40+
41+ ### Ruby
42+
43+ ``` Ruby
44+ puts " Hello world!"
45+ ```
46+
47+ Though the example was a simple one, we all start from writing Hello World, don't we? :)
You can’t perform that action at this time.
0 commit comments