Filter Array example in jquery

Simple example of filtering  array with value

let Cities = cities1.filter(function (e) {

    return e.population == 3000000;

});

console.log(Cities);


Ask for more examples.

Comments

Popular posts from this blog

Disable right click, Inspect Element and page source using JavaScript in Html and asp.net

Select distinct value from data table in SQL