Skip to main content
brace

brace

3 7.0
One of the curly marks { or } used to group items
  • noun
  • /breɪs/
  • Specialized
translation icon : llave
  • GCC sometimes likes curly brace notation instead.

So JavaScript has objects, and you create them by way of the curly brace notation.

Autoplay Next

Examples

  • So JavaScript has objects, and you create them by way of the curly brace notation.

  • So when you log something, it'll go through and any place it sees dollar curly brace, it'll replace that with a string.

  • Now this is also kind of an interesting bar here in that it's got this curly brace thing after it.

  • Like in C you type a few words and then you type a curly brace, which there is their notion of sort of begin and an indent of block.

  • You also need a closing bracket and semicolon at the very end, after the curly brace.

    Blog text (29)
  • Lack of curly braces doesn't bother people for long because they were probably indenting their code anyway.

    Blog text (18)
  • A declaration block starts with a left brace and ends with the matching right brace.

  • So JavaScript has objects, and you create them by way of the curly brace notation.

  • Now this is also kind of an interesting bar here in that it's got this curly brace thing after it.

Synonyms

1 1.3

A symbol like a period or comma that separates sentences and shows meaning

is a specific symbol used to enclose text in math and programming
delimiter
vsbrace
  • Specialized
1 5.9

A character or symbol that separates items in text and data files

is used to surround groups of items rather than only separate them

Compounds

neck brace
  • Specialized
7 3.8

A support worn around the neck to keep it still and help it heal

back brace
  • Specialized
3 3.9

A device you wear around your back to support it and help you sit or stand straight

3 3.2

A support worn around the knee to protect and keep it stable

brace and bit
  • Archaic
8.4

A hand tool that you turn to make holes in wood with a drill bit

brace of shakes
  • Archaic
9.6

Two milkshakes that people share as a treat

brace wrench
  • Archaic
7.7

A hand tool with a crank handle and a socket head to turn bolts or nuts

ankle brace
  • Specialized
3.4

A band worn around the ankle to support and protect it after injury

royal brace
  • Archaic
9.9

A rope that holds or controls the top part of a ship's mast

Surface Forms

brace singular
braces plural

Etymology

Brace for the punctuation { } is a helpful name because these marks 'brace' or hold items together in writing or code. They group lines or parts into one block, so the name shows their job of keeping things joined.