CodeNewbie Community 🌱

Discussion on: March 11th, 2021: What did you learn this week?

Collapse
 
sheriffderek profile image
sheriffderek

In JS you can do that when there's only 1 parameter in some cases. However, I much prefer the consistency to just always use the same convention. If it's always parentheses then it's easier for a larger team to read.

Collapse
 
aaron profile image
Aaron McCollum

I didn't know that re: JavaScript! But I agree, especially with JS where its very bracket/parenthesis/semi-colon reliant.