SyntaxFix
Write A Post
Hire A Developer
Questions
One statement can be written as such:
someValues.forEach(x => console.log(x));
or multiple statements can be enclosed in {} like this:
{}
someValues.forEach(x => { let a = 2 + x; console.log(a); });