From d44f5032d0f53256b2d5aef505d6b593fd3cd158 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:14:18 +0800 Subject: fix yari h2m dry run errors (zh-CN) --- .../web/javascript/reference/global_objects/object/freeze/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/object/freeze/index.html') diff --git a/files/zh-cn/web/javascript/reference/global_objects/object/freeze/index.html b/files/zh-cn/web/javascript/reference/global_objects/object/freeze/index.html index 6237badeea..6cc6d1c17a 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/object/freeze/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/object/freeze/index.html @@ -86,7 +86,7 @@ Object.defineProperty(obj, 'foo', { value: 'eit' }); Object.setPrototypeOf(obj, { x: 20 }) obj.__proto__ = { x: 20 } -

冻结数组

+

冻结数组

let a = [0];
 Object.freeze(a); // 现在数组不能被修改了.
-- 
cgit v1.2.3-54-g00ecf