mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-12 13:57:14 +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 {
|
let expr = match intrinsic {
|
||||||
Intrinsic::JsvalEq => {
|
Intrinsic::JsvalEq => {
|
||||||
assert_eq!(self.js_arguments.len(), 2);
|
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 => {
|
Intrinsic::IsFunction => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user