Please use correct jsDoc =(

Might be better to rename this to "createFilledArray" or something? The name "repeat" is not very descriptive.