Skip to content

Commit 9df8a3e

Browse files
authored
Update Overview wrt table.grow
1 parent da20676 commit 9df8a3e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

proposals/reference-types/Overview.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,15 @@ Table extensions:
135135
- For backwards compatibility, the index may be omitted in the text format, in which case it defaults to 0.
136136

137137

138-
API extensions:
138+
JS API extensions:
139139

140140
* Any JS value can be passed as `externref` to a Wasm function, stored in a global, or in a table.
141141

142142
* Any Wasm exported function object or `null` can be passed as `funcref` to a Wasm function, stored in a global, or in a table.
143143

144+
* The `WebAssembly.Table#grow` method takes an additional initialisation argument.
145+
- optional for backwards compatibility, defaults to default value of respective type
146+
144147

145148
## Possible Future Extensions
146149

@@ -212,11 +215,6 @@ Additions:
212215

213216
* Typed function references cannot be null!
214217

215-
* The `table.grow` instruction (see the [bulk operation proposal](https://github.com/WebAssembly/bulk-memory-operations/blob/master/proposals/bulk-memory-operations/Overview.md)) needs to take an initialisation argument.
216-
217-
* Likewise `WebAssembly.Table#grow` takes an additional initialisation argument.
218-
- optional for backwards compatibility, defaults to `null`
219-
220218

221219
### Type Import/Export
222220

0 commit comments

Comments
 (0)