what happens if you define an array in a function in js code example Example: make list in javascript var scores = Array(10);