summaryrefslogtreecommitdiff
path: root/content/handlers/javascript/duktape
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-05-25 20:11:52 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-05-25 20:11:52 +0100
commit57094c84edeb3540e13121dea742b1ae484d468b (patch)
tree34afc673502e8ea96c2a3c7a4b1e277afcbc361d /content/handlers/javascript/duktape
parent196c2fc845713d7ce2072a48f560f326b90b733a (diff)
downloadnetsurf-57094c84edeb3540e13121dea742b1ae484d468b.tar.gz
netsurf-57094c84edeb3540e13121dea742b1ae484d468b.tar.bz2
Expose NaN on Window
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content/handlers/javascript/duktape')
-rw-r--r--content/handlers/javascript/duktape/Window.bnd1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/handlers/javascript/duktape/Window.bnd b/content/handlers/javascript/duktape/Window.bnd
index cbf283f79..865d07421 100644
--- a/content/handlers/javascript/duktape/Window.bnd
+++ b/content/handlers/javascript/duktape/Window.bnd
@@ -249,6 +249,7 @@ prototype Window()
EXPOSE(Error);
EXPOSE(encodeURI);
EXPOSE(encodeURIComponent);
+ EXPOSE(NaN);
#undef EXPOSE
/* Add s3kr1t method to close the compartment */
duk_dup(ctx, 0);