def get(self, traverser, index, instantiate=False):
        if index == "length":
            return JSLiteral(len(self.elements), traverser=traverser)

        # Courtesy of Ian Bicking: http://bit.ly/hxv6qt
        try:
            el = self.elements[int(index.strip().split()[0])]
            if el is None:
                el = JSLiteral(None, traverser=traverser)
            return el
        except (ValueError, IndexError, __HOLE__):
            return super(JSArray, self).get(traverser, index, instantiate)
dataset/ETHPy150Open mozilla/app-validator/appvalidator/testcases/javascript/jstypes.py/JSArray.get