Add `x = +x` to convert the input argument to a number value. For example `toInteger({valueOf(){print('hello')}})` should print "hello" only once.