Skip to content

Commit b40ca70

Browse files
committed
Fix falseable variables considered undefined
1 parent e2d7141 commit b40ca70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/evmcrispr/src/EVMcrispr.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ export class EVMcrispr {
513513
async (n) => {
514514
const binding = this.bindingsManager.getBindingValue(n.value, USER);
515515

516-
if (binding) {
516+
if (binding !== undefined) {
517517
return binding;
518518
}
519519

0 commit comments

Comments
 (0)