Skip to content

Commit 09d15a9

Browse files
committed
[js-api][web-api] Fix some markup errors.
1 parent b07c837 commit 09d15a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

document/js-api/index.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ which can be simultaneously referenced by multiple {{Instance}} objects. Each
651651
<div algorithm>
652652
The <dfn constructor for="Memory">Memory(|descriptor|)</dfn> constructor, when invoked, performs the following steps:
653653
1. Let |initial| be |descriptor|["initial"].
654-
1. If |descriptor|["maximum"] is [=present=], let |maximum| be |descriptor|["maximum"]; otherwise, let |maximum| be empty.
654+
1. If |descriptor|["maximum"] [=map/exists=], let |maximum| be |descriptor|["maximum"]; otherwise, let |maximum| be empty.
655655
1. If |maximum| is not empty and |maximum| &lt; |initial|, throw a {{RangeError}} exception.
656656
1. Let |memtype| be { min |initial|, max |maximum| }.
657657
1. Let |store| be the [=surrounding agent=]'s [=associated store=].
@@ -747,7 +747,7 @@ Each {{Table}} object has a \[[Table]] internal slot, which is a [=table address
747747
<div algorithm>
748748
The <dfn constructor for="Table">Table(|descriptor|)</dfn> constructor, when invoked, performs the following steps:
749749
1. Let |initial| be |descriptor|["initial"].
750-
1. If |descriptor|["maximum"] is [=present=], let |maximum| be |descriptor|["maximum"]; otherwise, let |maximum| be empty.
750+
1. If |descriptor|["maximum"] [=map/exists=], let |maximum| be |descriptor|["maximum"]; otherwise, let |maximum| be empty.
751751
1. If |maximum| is not empty and |maximum| &lt; |initial|, throw a {{RangeError}} exception.
752752
1. Let |type| be the [=table type=] {[=table type|𝗆𝗂𝗇=] |initial|, [=table type|𝗆𝖺𝗑=] |maximum|} [=table type|𝖺𝗇𝗒𝖿𝗎𝗇𝖼=].
753753
1. Let |store| be the [=surrounding agent=]'s [=associated store=].
@@ -985,7 +985,7 @@ This slot holds a [=function address=] relative to the [=surrounding agent=]'s [
985985
1. Otherwise, if |outArity| is 1, return [=ToJSValue=](|v|), where |v| is the singular element of |ret|.
986986
1. Otherwise,
987987
1. Let |values| be a new, empty [=list=].
988-
1. For each |r| in |ret|, [=append=] [=ToJSValue=](|r|) to |values|.
988+
1. For each |r| in |ret|, [=list/append=] [=ToJSValue=](|r|) to |values|.
989989
1. Return [=CreateArrayFromList=](|values|).
990990
</div>
991991

document/web-api/index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ application/wasm
273273
<dd>None</dd>
274274
</dl></dd>
275275
<dt>Person & email address to contact for further information:</dt>
276-
<dd>Eric Prud'hommeaux <[email protected]></dd>
276+
<dd>Eric Prud'hommeaux &lt;[email protected]></dd>
277277
<dt>Intended usage:</dt>
278278
<dd>Common</dd>
279279
<dt>Restrictions on usage:</dt>

0 commit comments

Comments
 (0)