use `void(0)` instead of undefined