var obj = Immutable.fromJS({ categories: { 1: 'a', 2: } }); var output = obj.getIn(['categories', '2']); alert(output);