From 492ab494cec898b0c31f66e485c2270e2148662e Mon Sep 17 00:00:00 2001 From: rolitter Date: Tue, 26 Jun 2018 17:24:11 +0800 Subject: [PATCH] Update 4.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正Object单词拼写错误 --- 4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4.md b/4.md index 9557d04..7ea4204 100644 --- a/4.md +++ b/4.md @@ -176,7 +176,7 @@ console.log(Object.keys({x: 0, y: 0, z: 2})); ```js let objectA = {a: 1, b: 2}; -bject.assign(objectA, {b: 3, c: 4}); +Object.assign(objectA, {b: 3, c: 4}); console.log(objectA); // → {a: 1, b: 3, c: 4} ```