Improve performance of undefined comparison

Comparing to void 0 is way faster than coercing to string