ClojureScript

"TypeError: invalid 'in' operand a"

Details

Description

When using `clojure.browser.repl` in a ClojureScript project, the evaluation fails due to the error `TypeError: invalid 'in' operand a @ http://127.0.0.1:3000/js/site.js:6559`
Source of line:
`if (d in a && !/^https?:\/\//.test(a[d])) {`
^ fails here, definitely syntax error.

Sorry if I have put this in completely the wrong place...

Thanks!

Activity

Hide
David Nolen added a comment -

This ticket need more information - complete simple steps to reproduce with no external dependencies beyond ClojureScript, thanks.

Show
David Nolen added a comment - This ticket need more information - complete simple steps to reproduce with no external dependencies beyond ClojureScript, thanks.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: