I was just trying to explain programming in JavaScript to a friend of mine who is just starting out with programming and I called the '{' and '}' characters curly braces (or brackets). He laughed at me and said surely they have a better name than that and I realized that I don't know if they do.

Do they have a formal name?

2

Best Answer


Technically, they are simply known as Braces:

http://en.wikipedia.org/wiki/Bracket#Braces_or_Curly_brackets_.7B_.7D

THe formal name is curly brackets, but they have many pet names such as curly braces, flower brackets, etc...

Yes, curly brackets is the formal name...