Mastering Immutable.js
上QQ阅读APP看书,第一时间看更新

Sequences of values

You can use the of() method to create value sequences, as follows:

const mySeq = Seq.of(1, 2, 3);
console.log('mySeq', mySeq.toJS());
// -> mySeq [ 1, 2, 3 ]