Re: [ClojureScript] aget of nil

2015-08-05 Thread Daniel Compton
I think what I've seen David Nolen saying recently is that aget is only officially for accessing arrays, and you should use goog.object/get for getting properties from JS objects. I'm pretty sure any use of aget for accessing object properties is not supported (even though it works in some cases).

Re: [ClojureScript] aget of nil

2015-08-05 Thread David Nolen
Yes. Stop using aget for accessing object properties. It's only for arrays. David On Wed, Aug 5, 2015 at 9:23 AM, Daniel Compton daniel.compton.li...@gmail.com wrote: I think what I've seen David Nolen saying recently is that aget is only officially for accessing arrays, and you should use