diff --git a/crates/napi/src/bindgen_runtime/js_values/bigint.rs b/crates/napi/src/bindgen_runtime/js_values/bigint.rs index 3dc4a5f5..27100318 100644 --- a/crates/napi/src/bindgen_runtime/js_values/bigint.rs +++ b/crates/napi/src/bindgen_runtime/js_values/bigint.rs @@ -85,7 +85,7 @@ impl BigInt { ( self.sign_bit, self.words[0], - self.sign_bit && self.words.len() == 1, + !self.sign_bit && self.words.len() == 1, ) }