generated from tc39/template-for-proposals
-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathspec.emu
101 lines (98 loc) · 2.97 KB
/
spec.emu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!doctype html>
<meta charset="utf8">
<link rel="stylesheet" href="./spec.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/github.min.css">
<script src="./spec.js"></script>
<pre class="metadata">
title: ECMAScript Safe Assignment Operator
stage: -1
contributors: Arthur Fiorette
</pre>
<emu-biblio href="node_modules/@tc39/ecma262-biblio/biblio.json"></emu-biblio>
<emu-intro id="intro">
<h1>Introduction</h1>
<p>This proposal introduces syntax and semantics for safe assignments</p>
</emu-intro>
<emu-clause id="sec-ecmascript-data-types-and-values" aoid="Type">
<h1>ECMAScript Data Types and Values</h1>
<emu-clause id="sec-ecmascript-language-types">
<h1>ECMAScript Language Types</h1>
<emu-clause id="sec-ecmascript-language-types-symbol-type">
<h1>The Symbol Type</h1>
<emu-clause id="sec-well-known-symbols">
<h1>Well-Known Symbols</h1>
<emu-table id="table-1" caption="Well-known Symbols">
<table>
<tbody>
<tr>
<th>
Specification Name
</th>
<th>
[[Description]]
</th>
<th>
Value and Purpose
</th>
</tr>
<tr>
<td>
<ins>@@result</ins>
</td>
<td>
<ins>`"Symbol.result"`</ins>
</td>
<td>
<ins>A method that wraps function call result into a tuple array. Called by the semantics of `?=` operator and `ResultableStack` objects.</ins>
</td>
</tr>
</tbody>
</table>
</emu-table>
</emu-clause>
</emu-clause>
<emu-clause id="sec-object-type">
<h1>The Object Type</h1>
<emu-clause id="sec-well-known-intrinsic-objects">
<h1>Well-Known Intrinsic Objects</h1>
<emu-table id="table-well-known-intrinsic-objects" caption="Well-Known Intrinsic Objects" oldids="table-7">
<table>
<tr>
<th>
Intrinsic Name
</th>
<th>
Global Name
</th>
<th>
ECMAScript Language Association
</th>
</tr>
<tr>
<td>
%Function%
</td>
<td>
`Function`
</td>
<td>
The Function constructor (<emu-xref href="#sec-function-constructor"></emu-xref>)
</td>
</tr>
<tr>
<td>
%Promise%
</td>
<td>
`Promise`
</td>
<td>
The Promise object (<emu-xref href="#sec-promise-objects"></emu-xref>)
</td>
</tr>
</table>
</emu-table>
</emu-clause>
</emu-clause>
</emu-clause>
</emu-clause>