Cannot use true/false as map key

Description

This tripped me up when trying to use (group-by).
This works in Clojure, but not in ClojureScript:

(group-by identity [true true true false false false])
;;=> {true [true true true], false [false false false]}

My guess is because you can't use true/false as a key in JavaScript objects.
It would be nice if ClojureScript worked around this somehow, maybe the same way it compiles Clojure keywords into JS; giving a JS string a weird prefix.

Environment

None

Assignee

Unassigned

Reporter

Kevin Lynagh

Labels

None

Approval

None

Patch

None

Priority

Minor
Configure