diff --git a/src/targets/clojure/clj_http.js b/src/targets/clojure/clj_http.js index ec13d5364..39ac649af 100644 --- a/src/targets/clojure/clj_http.js +++ b/src/targets/clojure/clj_http.js @@ -30,7 +30,9 @@ File.prototype.toString = function () { var jsType = function (x) { return (typeof x !== 'undefined') - ? x.constructor.name.toLowerCase() + ? ((x !== null) + ? x.constructor.name.toLowerCase() + : 'null') : null }