Handling undefined arguments for .repeat(), .each() and .test() methods.