def delete(self, member):
        if member.isdigit() and self.has_var(member):
            index = int(member)
            if index == len(self.elements) - 1:
                self.elements.pop()
            else:
                self.elements[member] = None
        else:
            super(JSArray, self).delete(member)
dataset/ETHPy150Open mozilla/app-validator/appvalidator/testcases/javascript/jstypes.py/JSArray.delete/original