From ec25a6a1f1d0b784bd7f710f9a80641dc720da68 Mon Sep 17 00:00:00 2001 From: Andreas Gal Date: Sun, 13 Jul 2014 18:36:06 -0700 Subject: [PATCH] use === instead of == --- frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame.js b/frame.js index 4db23e48..27f0c2d4 100644 --- a/frame.js +++ b/frame.js @@ -36,7 +36,7 @@ Frame.prototype.setLocal = function(idx, value) { } Frame.prototype.isWide = function() { - return this.code[this.ip - 2] == OPCODES.wide; + return this.code[this.ip - 2] === OPCODES.wide; } Frame.prototype.u16_to_s16 = function(x) {