SyntaxFix
Write A Post
Hire A Developer
Questions
Can be done easily with $.map():
$.map()
var len = $.map(a, function(n, i) { return i; }).length;