DEV Community

humanfriend22
humanfriend22

Posted on • Edited on

2 1

console.log

This post is in response to this article

Instead of the code in the article, I suggest using this one because it allows multiple arguments:

const log = (...args) => console.log(...args);
view raw log.js hosted with ❤ by GitHub

This was more of a tip than a post which is why there is no explanation. Hope this helped!

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More