summaryrefslogtreecommitdiff
path: root/src/lobject.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-04-14 15:19:12 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-04-14 15:19:12 +0200
commit3152eb68f451568ee547eef3772d0070642d9b2e (patch)
tree30feac853512790ca88a2b346caba28d72ecdb3b /src/lobject.js
parent8e05003853773ef4d38913858ee4fc636bed21ac (diff)
downloadfengari-3152eb68f451568ee547eef3772d0070642d9b2e.tar.gz
fengari-3152eb68f451568ee547eef3772d0070642d9b2e.tar.bz2
fengari-3152eb68f451568ee547eef3772d0070642d9b2e.zip
Fixed boolean comparison
Diffstat (limited to 'src/lobject.js')
-rw-r--r--src/lobject.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lobject.js b/src/lobject.js
index aeaa105..78434ae 100644
--- a/src/lobject.js
+++ b/src/lobject.js
@@ -436,7 +436,7 @@ const l_str2d = function(s) {
return null;
let end = l_str2dloc(s, mode); /* try to convert */
if (end === null) { /* failed? may be a different locale */
- throw new Error("Locale not available to handle number"); // TODO
+ // throw new Error("Locale not available to handle number"); // TODO
}
return end;
};