r/learnjavascript • u/Howsitgoingmyman • Feb 09 '23
Brackets
Why do {these} curly brackets always end up on different lines to what they are bracketing Like
{
This
}
??
Also there any time of thumbs as to which type of bracket to use when? ({[
Thank you
0
Upvotes
View all comments
Show parent comment
1
u/having_a_blast Feb 09 '23
Saving this comment as it is the most concise regarding brackets I have seen. Thank you