in the page load I have datatable.

I want to fill the datatable to an array in javascript

for example:

c[1560]="drafd"
c[3250]="drff"
c[115]="ddrff"

how can I do it

thanks!