Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Favorite Colors

Given a person's three favorite colors write an expression to print them in the below format

let name = "John";
let color1 = "red";
let color2 = "blue";
let color3 = "green";
// write expression here
should print "John's favourite colors are red, blue and green."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment