Is there a dictionary implementation in JavaScript?

前端 未结 10 2020
萌比男神i
萌比男神i 2020-12-12 22:04

How can I implement an array with an indexer in JavaScript? Is there something like a dictionary in .Net?

10条回答
  •  有刺的猬
    2020-12-12 22:16

    You can try buckets, is a javascript data structure library, it allows you to use any type of object in a dictionary.

提交回复
热议问题