From 01b0e12ba27b5069248fd09235e9a7143915ee30 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:02:49 +0800 Subject: remove `notranslate` class in zh-CN --- .../web/javascript/enumerability_and_ownership_of_properties/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/web/javascript/enumerability_and_ownership_of_properties/index.html') diff --git a/files/zh-cn/web/javascript/enumerability_and_ownership_of_properties/index.html b/files/zh-cn/web/javascript/enumerability_and_ownership_of_properties/index.html index 47f75f244a..e7401b7cc1 100644 --- a/files/zh-cn/web/javascript/enumerability_and_ownership_of_properties/index.html +++ b/files/zh-cn/web/javascript/enumerability_and_ownership_of_properties/index.html @@ -145,7 +145,7 @@ translation_of: Web/JavaScript/Enumerability_and_ownership_of_properties
  • 使用 SimplePropertyRetriever.theGetMethodYouWant(obj).forEach(function (value, prop) {}); 时将发生迭代操作。 (或使用 filter()map() 等方法)
  • -
    var SimplePropertyRetriever = {
    +
    var SimplePropertyRetriever = {
         getOwnEnumerables: function(obj) {
             return this._getPropertyNames(obj, true, false, this._enumerable);
              // Or could use for..in filtered with hasOwnProperty or just this: return Object.keys(obj);
    -- 
    cgit v1.2.3-54-g00ecf