Please what is the different between document.write() and console.log() i notice some IDE are quite selective about recognising them?
— Document.write writes to the current HTML document, it's a part of the DOM API and only available in a web environment. (It's bad, don't use it ever)