Skip to content

Commit 4c1d591

Browse files
committed
Use minimum/maximum safe integer
1 parent b7548f0 commit 4c1d591

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4058,11 +4058,11 @@ <h4><dfn>Set Window Rect</dfn></h4>
40584058
<li><p>If <var>y</var> is <a>undefined</a>, let <var>y</var> be null.
40594059

40604060
<li><p>If <var>width</var> or <var>height</var> is neither null, nor
4061-
an integer from 0 to 2<sup>31</sup> − 1, return <a>error</a>
4061+
an integer from 0 to <a>maximum safe integer</a>, return <a>error</a>
40624062
with <a>error code</a> <a>invalid argument</a>.
40634063

40644064
<li><p>If <var>x</var> or <var>y</var> is neither null, nor
4065-
an integer from −(2<sup>31</sup>) to 2<sup>31</sup> − 1,
4065+
an integer from <a>minimum safe integer</a> to <a>maximum safe integer</a>,
40664066
return <a>error</a> with <a>error code</a> <a>invalid argument</a>.
40674067

40684068
<li><p>If the <a>remote end</a> does not support
@@ -11658,6 +11658,7 @@ <h2>Index</h2>
1165811658
<!-- Boolean type --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.14>Boolean</a></dfn> type
1165911659
<!-- List --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-8.8>List</a></dfn>
1166011660
<!-- Max Safe Integer --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer>maximum safe integer</a></dfn>
11661+
<!-- Min Safe Integer --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/6.0/#sec-number.min_safe_integer>minimum safe integer</a></dfn>
1166111662
<!-- null --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.11><code>null</code></a></dfn>
1166211663
<!-- Number --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.19>Number</a></dfn>
1166311664
<!-- Object --> <li><dfn><a href=https://www.ecma-international.org/ecma-262/5.1/#sec-4.2.1>Object</a></dfn>

0 commit comments

Comments
 (0)