It fails to throw an instance of RangeError, not TypeError, that's the one it does throw :)