> var s = 'foo';
> var l = s['length'];
> // type of l is `string`
beg pardon?
$ js
js> var s = 'foo';
js> s['length'];
3
js> typeof s['length'];
number
$ node
> var s = 'foo';
undefined
> s['length'];
3
> typeof s['length'];
'number'