5 ms·
Assuming that the function was called with a string, but the window.print function doesn't accept a string argument, the typing systems in mainstream languages
by baddox 7y ago
Assuming that the function was called with a string, but the window.print function doesn't accept a string argument, the typing systems in mainstream languages like Java (or even TypeScript) would catch this bug.