What is {... code ...} in javascript?
1 answer
Those are called block operators, they just have to group together commands that need to be executed together.
Here are some useful links: https://www.w3schools.com/js/js_statements.asp https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/block
+4
source to share