Immutable Hash and Array implementation in JavaScript?

前端 未结 4 945
南方客
南方客 2021-01-05 07:55

Is there simple immutable hash and array implementation in javascript? I don\'t need best speed, a reasonable speed better than a clone would be good.

4条回答
  •  一向
    一向 (楼主)
    2021-01-05 08:29

    I know this question is old but I thought people that were searching like me should be pointed to Facebook's Immutable.js which offers many different types of immutable data structures in a very efficient way.

提交回复
热议问题