File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
guide/src/reference/attributes/on-js-imports Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ attribute](structural.html). It configures how `wasm-bindgen` will generate JS
5
5
imports to call the imported function. Notably a function imported by ` final `
6
6
never changes after it was imported, whereas a function imported by default (or
7
7
with ` structural ` ) is subject to runtime lookup rules such as walking the
8
- prototype chain of an object.
8
+ prototype chain of an object. Note that ` final ` is not suitable for accessing
9
+ data descriptor properties of JS objects; to accomplish this, use the ` structural `
10
+ attribute.
9
11
10
12
[ host-bindings ] : https://github.com/WebAssembly/host-bindings
11
13
[ reference-types ] : https://github.com/WebAssembly/reference-types
You can’t perform that action at this time.
0 commit comments