How to take one array as input from the user in JavaScript - CodeVsColor

How to take one array as input from the user in JavaScript - CodeVsColor