Damn, you're right, sorry.
window.$ = (x => document.querySelectorAll(x))
window.$ = (x => document.querySelectorAll(x))
window.$ = document.querySelectorAll.bind(document);
Since it works properly for any function no matter the number of arguments it receives