I\'ve been looking around on the internet and I cant find any posts that cover how to fix this even though I am certain it is a very simple fix.
Basically I have an
I believe you are looking for something like this.
var input = new Array(9,3,4.3,24,54,8,19,23,46,87,3.14); var newArray = new Array(); input.forEach(function(number){ if(number > 10) { newArray.push(number); } });