Latest news
Home » javaScript » How to find the length or count of javascript array object?

How to find the length or count of javascript array object?

oFriends= { ‘sijo’:1,’ajo’:2,’rijo’:3 }

var count = Object.keys(oFriends).length;

Leave a Reply

x

Check Also

How to Check Expired Sessions using jQuery Ajax and PHP

We can achieve using the php and ajax.The following ajax call execute in every 10 ...