“coma” Código de respuesta

comas

A trailing comma, also known as a dangling or terminal comma, is a comma symbol that is typed after the last item of a list of elements. Since the introduction of the JavaScript language, trailing commas have been legal in array literals. Later, object literals joined arrays.
Scary Skylark

coma

[ "hello", "world" ]
# Out[1]: ['hello', 'world']
[ "hello", "world", ]
# Out[2]: ['hello', 'world']
Phuong Anh Dang

Respuestas similares a “coma”

Preguntas similares a “coma”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código