create lists with javascript DOM code example Example: make list in javascript var scores = Array(10);