Shorten the console log

There is a easy script uses bind to shorten the console log to speed up the development process.This can be done with every function

const log = console.log.bind(document)
log("Hello")
log("world")

Leave a comment

Your email address will not be published. Required fields are marked *