MCPcopy Create free account
hub / github.com/codecombat/codecombat / fun

Method fun

app/models/Prepaid.js:113–115  ·  view source on GitHub ↗
(s, k)

Source from the content-addressed store, hash-verified

111 numericalCourses () {
112 if (!__guard__(this.get('includedCourseIDs'), x => x.length)) { return utils.courseNumericalStatus.FULL_ACCESS }
113 const fun = (s, k) => {
114 return s + utils.courseNumericalStatus[k]
115 }
116 return _.reduce(this.get('includedCourseIDs'), fun, 0)
117 }
118

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected