Generally, they share several syntactic features; use of:
Balanced brackets { and } also called "brace brackets" or simply "braces", to define blocks in their syntax or formal grammar.
Semicolons ; as statement terminators, not as separators.
Three-part "for" statement syntax.
Ignore whitespace: compilers or interpreters treat all contiguous, adjacent non-characters (tabs, spaces) as one blank space; also called free-form languages.