aget produces different results from Clojure for non-integer and out-of-bounds indexes

Description

Like CLJS-2113, but for aget:

Clojure:

ClojureScript

Also note that Clojure acts as if rounding indices down to the nearest integer while ClojureScript does not:

yields 1 in Clojure and nil in ClojureScript.

(Presumably, similar results hold for aset.)

Environment

None

Assignee

Unassigned

Reporter

Mike Fikes

Labels

None

Approval

None

Patch

None

Affects versions

Priority

Major
Configure