You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/01-getting-started/1-intro/article.md
+1-24Lines changed: 1 addition & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,6 @@
1
1
# Pengenalan JavaScript
2
2
3
-
<<<<<<< HEAD
4
3
Mari kita lihat apa yang spesial dari JavaScript, apa saja yang bisa kita buat menggunakan JavaScript, dan teknologi apa yang cocok dengan JavaScript.
5
-
=======
6
-
Let's see what's so special about JavaScript, what we can achieve with it, and what other technologies play well with it.
7
-
>>>>>>> d6e88647b42992f204f57401160ebae92b358c0d
8
4
9
5
## Apa itu JavaScript?
10
6
@@ -28,15 +24,9 @@ Browser punya engine yang tertanam didalamnya yang disebut "JavaScript virtual m
28
24
29
25
Tiap engine punya *codename*-nya sendiri. Misalnya:
30
26
31
-
<<<<<<< HEAD
32
27
-[V8](https://en.wikipedia.org/wiki/V8_(JavaScript_engine)) -- di Chrome dan Opera.
33
28
-[SpiderMonkey](https://en.wikipedia.org/wiki/SpiderMonkey) -- di Firefox.
34
29
- ...Ada juga codename lain seperti "Trident" dan "Chakra" untuk versi berbeda dari IE, "ChakraCore" untuk Microsoft Edge, "Nitro" dan "SquirrelFish" untuk Safari, dll.
35
-
=======
36
-
-[V8](https://en.wikipedia.org/wiki/V8_(JavaScript_engine)) -- in Chrome and Opera.
37
-
-[SpiderMonkey](https://en.wikipedia.org/wiki/SpiderMonkey) -- in Firefox.
38
-
- ...There are other codenames like "Chakra" for IE, "ChakraCore" for Microsoft Edge, "Nitro" and "SquirrelFish" for Safari, etc.
39
-
>>>>>>> f489145731a45df6e369a3c063e52250f3f0061d
40
30
41
31
Istilah di atas sebaiknya diingat karena akan sering digunakan dalam artikel para developer di internet. Kita akan menggunakannya juga. Misalnya, jika "fitur X didukung V8", kemungkinan ia bisa jalan di Chrome dan Opera.
42
32
@@ -116,29 +106,16 @@ Tools modern membuat transpilasi sangat cepat dan transparan, yang memungkinkan
116
106
117
107
Contoh bahasa yang dimaksud:
118
108
119
-
<<<<<<< HEAD
120
109
-[CoffeeScript](http://coffeescript.org/) merupakan "syntactic sugar" dari JavaScript. Dia memperkenalkan syntax yang lebih pendek, memungkingkan kita menulis kode lebih bersih dan lebih presisi. Biasanya, Ruby devs menyukainya.
121
110
-[TypeScript](http://www.typescriptlang.org/) berfokus pada penambahan "strict data typing" yang menyederhanakan pengembangan dan dukungan sistem yang komplex. Ia dikembangkan oleh Microsoft.
122
111
-[Flow](http://flow.org/) juga menambahkan data typing, tapi dalam cara berbeda. Dikembangkan oleh Facebook.
123
112
-[Dart](https://www.dartlang.org/) ialah bahasa mandiri yang punya engine sendiri yang berjalan di lingkungan non-peramban (seperti mobile apps), tapi bisa juga ditranspile ke JavaScript. Dikembangkan oleh Google.
124
-
=======
125
-
-[CoffeeScript](http://coffeescript.org/) is a "syntactic sugar" for JavaScript. It introduces shorter syntax, allowing us to write clearer and more precise code. Usually, Ruby devs like it.
126
-
-[TypeScript](http://www.typescriptlang.org/) is concentrated on adding "strict data typing" to simplify the development and support of complex systems. It is developed by Microsoft.
127
-
-[Flow](http://flow.org/) also adds data typing, but in a different way. Developed by Facebook.
128
-
-[Dart](https://www.dartlang.org/) is a standalone language that has its own engine that runs in non-browser environments (like mobile apps), but also can be transpiled to JavaScript. Developed by Google.
129
-
-[Brython](https://brython.info/) is a Python transpiler to JavaScript that allow to write application in pure Python without JavaScript.
130
-
>>>>>>> f830bc5d9454d85829e011d914f215eb5896579a
113
+
-[Brython](https://brython.info/) adalah transpiler python untuk Javascript yang memperbolehkan untuk menulis kode aplikasi didalam Python murni tanpa Javascript.
131
114
132
115
Masih banyak lagi. Tentunya, jika kita menggunakan salah satu bahasa yang ditranspile tersebut, kita sebaiknya juga paham JavaScript untuk mengerti apa yang mereka lakukan.
133
116
134
117
## Kesimpulan
135
118
136
-
<<<<<<< HEAD
137
119
- JavaScript awalnya diciptakan sebagai bahasa khusus browser, namun sekarang banyak digunakan di lingkungan lain.
138
120
- Sekarang, JavaScript mempunyai posisi unik sebagai bahasa browser paling banyak diadopsi dengan integrasi penuh dengan HTML/CSS.
139
121
- Ada banyak bahasa yang "ditranspile" ke JavaScript dan menyediakan fitur tertentu. Disarankan untuk mempelajari mereka juga, minimal sebentar, setelah menguasai JavaScript.
140
-
=======
141
-
- JavaScript was initially created as a browser-only language, but it is now used in many other environments as well.
142
-
- Today, JavaScript has a unique position as the most widely-adopted browser language with full integration in HTML/CSS.
143
-
- 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