Commas in Computers

A comma is a punctuation mark used in computing to indicate a pause in the transmission of data over a network. But, did you know that commas are also used in programming to separate values in a list?

For example:

      let fruits = ["apple", "banana", "orange", "grape"];
    

See, a comma is used here to separate each fruit in the list.

Comma Conundrums

Back to Punctuation Rules