AnuradhaChannappa / js-basics

js-basics
0 stars 0 forks source link

Output formatting #1

Open ankushdharkar opened 5 years ago

ankushdharkar commented 5 years ago

anu,tanu, manu and banu is the current output It should instead be: anu, tanu, manu, and banu

The spacing and commas need to be fixed

image

Also, what happens when the namesArray = ['Anu']?

ankushdharkar commented 5 years ago

The output currently is anu,banu, and tanu It should instead be anu, banu, and tanu (Notice the space before each word)