From ea514a38735125a2b5468300311ea8b2389c8863 Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:06 +0800 Subject: remove hidden class for zh-CN --- .../web/javascript/reference/global_objects/function/name/index.html | 4 ---- 1 file changed, 4 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/function') diff --git a/files/zh-cn/web/javascript/reference/global_objects/function/name/index.html b/files/zh-cn/web/javascript/reference/global_objects/function/name/index.html index 80253d1caa..61f96599b8 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/function/name/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/function/name/index.html @@ -60,10 +60,6 @@ try { object_someMethod } catch(e) { alert(e); }

你不能更改函数的名称,此属性是只读的:

- -
var object = {
   // anonymous
   someMethod: function() {}
-- 
cgit v1.2.3-54-g00ecf