JSFiddle - React, Tailwind, and code Playground

by Lena R

JavaScript

var a = [1,5,10,71,80,0,7];
var b = [];





var b = a.filter(function(item, index, array){
    return (item > 2);
});
alert(b);
//b.reverse();