WebAssembly is a low-level assembly-like language with a compact binary format that runs with near-native performance. It designed to run alongside JavaScript, allowing both to work together.
(c) MDN
🐊Putout processor adds ability to lint wasm
.
npm i @putout/processor-wasm -D
{
"processors": ["wasm"]
}
The
local.get
instruction returns the value of the local at index$id
in the locals vector of the current function execution. The type parameter is bound to the type of the local.
get_local
is DEPRECATED.
-get_local $a
+local.get $a
The
local.set
instruction returns the value of the local at index$id
in the locals vector of the current function execution. The type parameter is bound to the type of the local.
set_local
is DEPReCATED.
-set_local $a
+local.set $a
MIT