User Interface Expert Question:
Download Questions PDF

Create an array in JavaScript with a list of 4 colors, assign that array to the variable, 'colors'?

UI Developer Interview Question
UI Developer Interview Question

Answer:

var colors = ['red, 'yellow', 'green', 'blue'];

Download UI Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me how do you select all elements with the class of "selected" in jQuery?Tell me what is the difference between require() and include() when an error is encountered?