Pattern: Extra space in console
method arguments
Issue: -
Console methods automatically add spaces between arguments when joining them. Adding leading or trailing spaces in the arguments results in double spaces in the output.
Example of incorrect code:
console.log("abc ", "def");
console.log(" abc", "def");
console.log("abc", " def");
Example of correct code:
console.log("abc", "def");