Actually a number should work since it will be coerced into a string.  At
least this happens in Chrome.

I know using auto-coercion is uncool but I thought I'd just throw that out
there.


On Mon, Jun 16, 2014 at 12:40 PM, Jens Alfke <[email protected]> wrote:

>
> On Jun 16, 2014, at 3:29 AM, Pieter van der Eems <
> [email protected]> wrote:
>
> > doc[123];
>
> That should be
>         doc["123"];
> since the key is a string, not a number.
>
> —Jens

Reply via email to