Skip to content

Commit 7587741

Browse files
committed
Translation id-ID answer 20
1 parent 59dc511 commit 7587741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

id-ID/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ getAge();
647647

648648
#### Jawaban: C
649649

650-
With `"use strict"`, you can make sure that you don't accidentally declare global variables. We never declared the variable `age`, and since we use `"use strict"`, it will throw a reference error. If we didn't use `"use strict"`, it would have worked, since the property `age` would have gotten added to the global object.
650+
Dengan `" use strict "`, Anda dapat memastikan bahwa Anda tidak mendeklarasikan variabel global secara tidak sengaja. Kita tidak pernah mendeklarasikan variabel `age`, dan karena kita menggunakan `" use strict "`, ini akan memunculkan kesalahan referensi. Jika kita tidak menggunakan `" use strict "`, ini akan berhasil, karena properti `age` akan ditambahkan ke objek global.
651651

652652
</p>
653653
</details>

0 commit comments

Comments
 (0)