diff --git a/js/helpers.js b/js/helpers.js index 7bb8308e93..48adf4da85 100644 --- a/js/helpers.js +++ b/js/helpers.js @@ -99,7 +99,7 @@ function getString(thing) { } function getStringable(thing) { - return (typeof thing == "string" || typeof thing == "number" || + return (typeof thing == "string" || typeof thing == "number" || typeof thing == "boolean" || (thing === Object(thing) && (thing.__proto__ == StaticArrayBufferProto || thing.__proto__ == StaticUint8ArrayProto ||