using void 0 instead of undefined

doing this seems to be more performant according to jsperf results