Js native array functions

by Rich Costello

JavaScript

var a = ["Bob", "susy", "Red", "Jon", "Barbie", "Kiley"];

console.log(a);

a.filter;

function.filter() { [native code] };
a.filter(function(n){return n.length > 4});

console.log(a);