aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/rangeerror
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/rangeerror')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/rangeerror/prototype/index.html89
1 files changed, 0 insertions, 89 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/rangeerror/prototype/index.html b/files/zh-cn/web/javascript/reference/global_objects/rangeerror/prototype/index.html
deleted file mode 100644
index 0e2c78aedf..0000000000
--- a/files/zh-cn/web/javascript/reference/global_objects/rangeerror/prototype/index.html
+++ /dev/null
@@ -1,89 +0,0 @@
----
-title: RangeError.prototype
-slug: Web/JavaScript/Reference/Global_Objects/RangeError/prototype
-translation_of: Web/JavaScript/Reference/Global_Objects/RangeError
-translation_of_original: Web/JavaScript/Reference/Global_Objects/RangeError/prototype
----
-<div>{{JSRef}}</div>
-
-<div> </div>
-
-<div><code><strong>RangeError.prototype</strong></code> 属性表示 {{jsxref("RangeError")}} 构造函数的原型。</div>
-
-<div> </div>
-
-<div>{{js_property_attributes(0, 0, 0)}}</div>
-
-<h2 id="描述">描述</h2>
-
-<p>所有  {{jsxref("RangeError")}} 的实例都继承自 <code>RangeError.prototype</code> ,所以你可以使用这个属性来为所有的实例添加属性或方法。</p>
-
-<h2 id="属性">属性</h2>
-
-<dl>
- <dt><code>RangeError.prototype.constructor</code></dt>
- <dd>指定了创建实例原型的函数</dd>
- <dt>{{jsxref("Error.prototype.message", "RangeError.prototype.message")}}</dt>
- <dd>错误信息。尽管 ECMA-262 规定了 {{jsxref("RangeError")}} 应该拥有一个 <code>message</code> 属性,但在 <a href="/zh-CN/docs/Mozilla/Projects/SpiderMonkey">SpiderMonkey</a> 中,该属性继承自 {{jsxref("Error.prototype.message")}}。</dd>
- <dt>{{jsxref("Error.prototype.name", "RangeError.prototype.name")}}</dt>
- <dd>错误名字,继承自 {{jsxref("Error")}}。</dd>
- <dt>{{jsxref("Error.prototype.fileName", "RangeError.prototype.fileName")}}</dt>
- <dd>引起该错误的文件路径,继承自 {{jsxref("Error")}}。</dd>
- <dt>{{jsxref("Error.prototype.lineNumber", "RangeError.prototype.lineNumber")}}</dt>
- <dd>引起该错误的行号,继承自 {{jsxref("Error")}}。</dd>
- <dt>{{jsxref("Error.prototype.columnNumber", "RangeError.prototype.columnNumber")}}</dt>
- <dd>引起该错误的列号,继承自 {{jsxref("Error")}}。</dd>
- <dt>{{jsxref("Error.prototype.stack", "RangeError.prototype.stack")}}</dt>
- <dd>堆栈跟踪记录,继承自 {{jsxref("Error")}}。</dd>
-</dl>
-
-<h2 id="方法">方法</h2>
-
-<p>尽管 {{jsxref("RangeError")}} 原型对象自身没有包含任何方法,但是 {{jsxref("RangeError")}} 实例却通过原型链继承到了一些方法。</p>
-
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('ES3')}}</td>
- <td>{{Spec2('ES3')}}</td>
- <td>Initial definition.</td>
- </tr>
- <tr>
- <td>{{SpecName('ES5.1', '#sec-15.11.7.6', 'NativeError.prototype')}}</td>
- <td>{{Spec2('ES5.1')}}</td>
- <td>Defined as <code><em>NativeError</em>.prototype</code>.</td>
- </tr>
- <tr>
- <td>{{SpecName('ES6', '#sec-nativeerror.prototype', 'NativeError.prototype')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td>Defined as <code><em>NativeError</em>.prototype</code>.</td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-nativeerror.prototype', 'NativeError.prototype')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td>Defined as <code><em>NativeError</em>.prototype</code>.</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-<div>
-
-
-<p>{{Compat("javascript.builtins.RangeError")}}</p>
-</div>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>{{jsxref("Error.prototype")}}</li>
- <li>{{jsxref("Function.prototype")}}</li>
-</ul>