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); |
This was more of a tip than a post which is why there is no explanation. Hope this helped!
Top comments (0)