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

Method fun

app/models/User.js:912–912  ·  view source on GitHub ↗
(s, k)

Source from the content-addressed store, hash-verified

910 const union = (res, prepaid) => _.union(res, prepaid.productOptions?.includedCourseIDs != null ? prepaid.productOptions?.includedCourseIDs : [])
911 const courses = _.reduce(courseProducts, union, [])
912 const fun = (s, k) => s + utils.courseNumericalStatus[k]
913 return _.reduce(courses, fun, 0)
914 }
915

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected