We're updating the issue view to help you get more done. 

Doc for DOT has example showing incorrect/discouraged use of aget

Description

I just finished reading the doc on misuse of aget/aset for js objects and then stumbled on an example showing the wrong use of aget:
http://cljs.github.io/api/cljs.core/DOT


You can get the value at property "foo" with any of the following:

(. o -foo)
;;=> "bar"

(.-foo o)
;;=> "bar"

(aget o "foo")
;;=> "bar"


I assume that last example is a doc bug from the past. I marked the priority as Major because it seems there is a big problem with misuse of aget and this doc error isn't helping.

Environment

None

Status

Assignee

Unassigned

Reporter

import

Labels

None

Approval

None

Patch

None

Affects versions

1.10.238

Priority

Major