create array of strings from array of variables javascript code example Example: javascript declare array var array = []