If a value is undefined you don't need to pass it in as such.  If you're trying to remove a value then you should 'delete' instead of assigning undefined.