operator [] method
override
Returns the value associated with property
from the proxied JavaScript
object.
Implementation
E operator [](dynamic index) {
// TODO(justinfagnani): fix the semantics for non-ints
// dartbug.com/14605
if (index is num && index == index.toInt()) {
_checkIndex(index);
}
return super[index];
}