For tasks that are done very often, e.g. console.log
, I would like to create a reserved word.
Yes, I could create a utility function
, but then I'd have to import it into every file where I would like to call it.
When I say reserved word, I mean the same way that debugger
is a reserved word.
How would you create a custom reserved word in javascript?