syntax error, `void` operator expects a value just after it, that why it's usually written as `void(0)` but `void "foo"` and `void 123` also returns `undefined`.