changed 11

omitted return from console.log statement in print function
Calculates a factorial.

.