aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/symbol/toprimitive/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/symbol/toprimitive/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/symbol/toprimitive/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/symbol/toprimitive/index.html b/files/zh-cn/web/javascript/reference/global_objects/symbol/toprimitive/index.html
index 18c1c5a6e9..c93b5a1e47 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/symbol/toprimitive/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/symbol/toprimitive/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Symbol/toPrimitive
---
<div>{{JSRef}}</div>
-<div></div>
+
<p><code><strong>Symbol.toPrimitive</strong></code> 是一个内置的 Symbol 值,它是作为对象的函数值属性存在的,当一个对象转换为对应的原始值时,会调用此函数。</p>