Skip to content

Commit db7b2d3

Browse files
authored
Add a note about non-extensibility (#28)
1 parent 0e10472 commit db7b2d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

proposals/custom-descriptors/Overview.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,12 @@ All methods, getters, and setters, whether static or not,
684684
are installed as writable, configurable, and non-enumerable properties.
685685
This matches the behavior of ES6 class methods.
686686

687+
(Also note that all WebAssembly objects are non-extensible
688+
in the sense that they have fixed layout.
689+
See https://github.com/syg/proposal-nonextensible-applies-to-private.
690+
This does not have anything to do with the rest of the proposal,
691+
but we can plan to add it to the JS embedding spec along with everything else here.)
692+
687693
### Instantiation
688694

689695
When constructing a WebAssembly instance,

0 commit comments

Comments
 (0)