diff options
author | yhirose <yuji.hirose.bug@gmail.com> | 2022-01-22 16:23:39 -0500 |
---|---|---|
committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2022-01-29 21:56:04 +0900 |
commit | 6f293b2b54c572b47bb4b64e76ddeddf07c2551c (patch) | |
tree | b67526a032c4b75a7b209d5f71da92bf67209a1a /files | |
parent | 4ba51be907e838bcd51300c4710d1d22787a3f3b (diff) | |
download | translated-content-6f293b2b54c572b47bb4b64e76ddeddf07c2551c.tar.gz translated-content-6f293b2b54c572b47bb4b64e76ddeddf07c2551c.tar.bz2 translated-content-6f293b2b54c572b47bb4b64e76ddeddf07c2551c.zip |
Fix code typos
This is in harmony with the same change recently made in the original English
content. (https://github.com/mdn/content/pull/11918)
Diffstat (limited to 'files')
-rw-r--r-- | files/ja/webassembly/understanding_the_text_format/index.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ja/webassembly/understanding_the_text_format/index.md b/files/ja/webassembly/understanding_the_text_format/index.md index 62f891dc61..c54496825d 100644 --- a/files/ja/webassembly/understanding_the_text_format/index.md +++ b/files/ja/webassembly/understanding_the_text_format/index.md @@ -407,7 +407,7 @@ JavaScript で同じようなテーブルのインスタンスを作成する場 ```js function() { // table section - var tbl = new WebAssembly.Table({initial:2, element:"funcref"}); + var tbl = new WebAssembly.Table({initial:2, element:"anyfunc"}); // function sections: var f1 = ... /* some imported WebAssembly function */ @@ -543,7 +543,7 @@ JavaScript は関数参照にフルアクセスできるため、 Table オブ var importObj = { js: { memory : new WebAssembly.Memory({ initial: 1 }), - table : new WebAssembly.Table({ initial: 1, element: "funcref" }) + table : new WebAssembly.Table({ initial: 1, element: "anyfunc" }) } }; |