File tree Expand file tree Collapse file tree 2 files changed +0
-51
lines changed
Expand file tree Collapse file tree 2 files changed +0
-51
lines changed Original file line number Diff line number Diff line change @@ -57,33 +57,6 @@ <h1><a href="https://tc39.es/ecma402/#sec-abstract-operations">Abstract Operatio
5757 <p >In this section, some abstract operations that manipulate options objects are to be moved from ECMA-402 into ECMA-262.</p >
5858 </emu-note >
5959
60- <del class =" block" >
61-
62- <emu-clause id =" sec-getoptionsobject-deleted" type =" abstract operation" >
63- <h1 >
64- GetOptionsObject (
65- _options_ : an ECMAScript language value,
66- ): either a normal completion containing an Object or a throw completion
67- </h1 >
68- <dl class =" header" >
69- <dt >description</dt >
70- <dd >
71- It returns an Object suitable for use with GetOption, either _options_ itself or a default empty Object.
72- It throws a *TypeError* if _options_ is not *undefined* and not an Object.
73- </dd >
74- <dt >redefinition</dt >
75- <dd >true</dd >
76- </dl >
77- <emu-alg >
78- 1. If _options_ is *undefined* , then
79- 1. Return OrdinaryObjectCreate(*null* ).
80- 1. If Type(_options_ ) is Object, then
81- 1. Return _options_ .
82- 1. Throw a *TypeError* exception.
83- </emu-alg >
84- </emu-clause >
85- </del >
86-
8760 <p >[...]</p >
8861
8962 <del class =" block" >
Original file line number Diff line number Diff line change @@ -134,30 +134,6 @@ <h1>
134134 <emu-clause id =" sec-operations-for-reading-options" >
135135 <h1 >Operations for Reading Options</h1 >
136136
137- <!-- Copied from ECMA-402 GetOptionsObject -->
138-
139- <emu-clause id =" sec-getoptionsobject" type =" abstract operation" >
140- <h1 >
141- GetOptionsObject (
142- _options_ : an ECMAScript language value,
143- ): either a normal completion containing an Object or a throw completion
144- </h1 >
145- <dl class =" header" >
146- <dt >description</dt >
147- <dd >
148- It returns an Object suitable for use with GetOption, either _options_ itself or a default empty Object.
149- It throws a *TypeError* if _options_ is not *undefined* and not an Object.
150- </dd >
151- </dl >
152- <emu-alg >
153- 1. If _options_ is *undefined* , then
154- 1. Return OrdinaryObjectCreate(*null* ).
155- 1. If _options_ is an Object, then
156- 1. Return _options_ .
157- 1. Throw a *TypeError* exception.
158- </emu-alg >
159- </emu-clause >
160-
161137 <!-- Copied from ECMA-402 GetOption -->
162138
163139 <emu-clause id =" sec-getoption" type =" abstract operation" >
You can’t perform that action at this time.
0 commit comments