mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Fix a typo in the JsvalEq
intrinsic
This is supposed to be `===`, not `==`.
This commit is contained in:
parent
cbd4b87d08
commit
55fc5367a5
@ -1033,7 +1033,7 @@ impl<'a, 'b> Rust2Js<'a, 'b> {
|
||||
let expr = match intrinsic {
|
||||
Intrinsic::JsvalEq => {
|
||||
assert_eq!(self.js_arguments.len(), 2);
|
||||
format!("{} == {}", self.js_arguments[0], self.js_arguments[1])
|
||||
format!("{} === {}", self.js_arguments[0], self.js_arguments[1])
|
||||
}
|
||||
|
||||
Intrinsic::IsFunction => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user