Skip to content

Commit 1c5db09

Browse files
committed
translation
translate native prototype task1
1 parent cb01c77 commit 1c5db09

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

1-js/08-prototypes/03-native-prototypes/1-defer-to-prototype/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ function f() {
99
alert("Hello!");
1010
}
1111

12-
f.defer(1000); // shows "Hello!" after 1 sec
12+
f.defer(1000); // menampilkan "Hello!" setelah 1 detik
1313
```
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
importance: 5
1+
nilai: 5
22

33
---
44

5-
# Add method "f.defer(ms)" to functions
5+
# Menambahkan metode "f.defer(ms)" ke fungsi
66

7-
Add to the prototype of all functions the method `defer(ms)`, that runs the function after `ms` milliseconds.
7+
Tambahkan kepada *prototype* dari semua fungsi metode `defer(ms)`, yang menjalankan fungsinya setelah milidetik `ms`.
88

9-
After you do it, such code should work:
9+
Setelah kamu melakukannya, kodenya harus berjalan:
1010

1111
```js
1212
function f() {
1313
alert("Hello!");
1414
}
1515

16-
f.defer(1000); // shows "Hello!" after 1 second
16+
f.defer(1000); // menampilkan "Hello!" setelah 1 detik
1717
```

0 commit comments

Comments
 (0)