上QQ阅读APP看书,第一时间看更新
Parsing data using the fromJS() function
Immutable.js has one more tool for creating immutable data in addition to everything we've looked at so far in this chapter. The fromJS() function is similar to a JSON parser, because it parses the same types of JavaScript objects that you'll see when you parse JSON strings: objects and arrays.