It could be any allocated object, do you have a preference? But the updateFunction invocation needs to take the return value of setTimeout, which doesn't exist when the arguments to setTimeout are being evaluated.