var nameArray = [
{ name: 'john', surname: 'smith' },
{ name: 'paul', surname: 'jones' },
{ name: 'timi', surname: 'abel' },
];
for (str of nameArray) {
console.log( str.name );
}
I want to know, how supported is for( item of array )
in terms of browser support, mobile JavaScript support - I realize you cannot do greater than >
and this is pure iteration?
I have just discovered this, is this as good as I hope it is?