function array_front(array, val) { var returnable = false; var test; var i; for (i=0; i