Skip to content

Commit dccbcfd

Browse files
committed
fix typo on zhtw/core/undefined.md
1 parent 143bda7 commit dccbcfd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/zhtw/core/undefined.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,11 @@ JavaScript 中有兩個表示空值的方式, `null` 和 `undefined` , `unde
4343

4444
})('Hello World', 42);
4545

46-
唯一的不同就是在下者會多 4 個多 bytes 用來壓縮檔案,而且函數內野沒有其他需要使用 `var`
46+
唯一的不同就是在下者會多 4 個多 bytes 用來壓縮檔案,而且函數內也沒有其他需要使用 `var`
4747

4848
### 使用 `null`
4949

5050
JavaScript 中所使用的 `undefined` 類似別的語言中的 *null* , 但實際上在 JavaScript 中的 `null` 算是另外一個類型。
5151

5252
它在 JavaScript 有些可以使用的地方 (例如說宣告一個原型的終結,例如 `Foo.prototype = null` )。
5353
但是在大部分的時候可以用 `undefined`,來取代。
54-
55-

0 commit comments

Comments
 (0)