From 6f293b2b54c572b47bb4b64e76ddeddf07c2551c Mon Sep 17 00:00:00 2001 From: yhirose Date: Sat, 22 Jan 2022 16:23:39 -0500 Subject: 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) --- files/ja/webassembly/understanding_the_text_format/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files') 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" }) } }; -- cgit v1.2.3-54-g00ecf