looping an array and sqrt the numbers in the array

by james gotsell

HTML

<script src="https://getfirebug.com/firebug-lite-debug.js"></script>

JavaScript

var Numbers = [1,2,3,4,5,6,7,8,9,10]

var arrayLength = Numbers.length; 

for (var i=0; i < arrayLength; i++){
    var roots = Numbers.map(Math.sqrt)
    console.log(roots)
}