- Mastering Immutable.js
- Adam Boduch
- 71字
- 2021-07-08 10:30:06
Lists
A list is like a JavaScript array. It's an indexed collection, meaning that the same type of indexes that you would use with an array will also work with lists. The notation is different, though—you use methods to get and set data instead of the [] notation, as shown here:
import { List } from 'immutable';
const myList = List();
console.log('List', myList instanceof List);
// -> List true
推薦閱讀
- PyTorch Artificial Intelligence Fundamentals
- Python零基礎(chǔ)快樂(lè)學(xué)習(xí)之旅(K12實(shí)戰(zhàn)訓(xùn)練)
- UI智能化與前端智能化:工程技術(shù)、實(shí)現(xiàn)方法與編程思想
- aelf區(qū)塊鏈應(yīng)用架構(gòu)指南
- Internet of Things with the Arduino Yún
- R的極客理想:工具篇
- 你不知道的JavaScript(中卷)
- JAVA程序設(shè)計(jì)實(shí)驗(yàn)教程
- Scala程序員面試算法寶典
- INSTANT Silverlight 5 Animation
- 移動(dòng)增值應(yīng)用開發(fā)技術(shù)導(dǎo)論
- iOS開發(fā)項(xiàng)目化入門教程
- Modernizing Legacy Applications in PHP
- Python Programming for Arduino
- Jakarta EE Cookbook