Skip to content

Commit 6c1e4da

Browse files
committed
trivial nested access example
1 parent eef4041 commit 6c1e4da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/cljs/cljs/proxy.cljs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,8 @@
128128
(time
129129
(dotimes [i 1e7]
130130
(aget proxied-vec 1)))
131+
132+
(def proxied-deep (proxy [{:foo "Hello"}]))
133+
(-> proxied-deep (aget 0) (unchecked-get "foo"))
131134

132135
)

0 commit comments

Comments
 (0)