diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/object/freeze/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/object/freeze/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 }</pre> -<h3 class="brush: js" id="冻结数组">冻结数组</h3> +<h3 id="冻结数组">冻结数组</h3> <pre class="brush: js">let a = [0]; Object.freeze(a); // 现在数组不能被修改了. |