How do I implement this array in Javascript -
array ( [254] => onjob [251] => verified [250] => verified [249] => onjob [248] => onjob [247] => onjob [244] => onjob )
i have array , want each value respective array key . how in javascript ?
create object
my_object={254: 'onjob',251: 'verified', 250: 'verified',249: 'onjob'}; my_object[251]; //return "verified"
Comments
Post a Comment