A simple little module to calculate expenses for a department.
$ npm install --save coding-challenge
var codingChallenge = require('coding-challenge');
var employees = [
{
name: 'Drake',
type: 'manager',
employees: [
{
name: 'Sully',
type: 'Developer'
}, {
name: 'Elena',
type: 'QA Tester'
}
]
}
];
codingChallenge(employees);
(Coming soon)
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using gulp.
Copyright (c) 2015 Bryan Maynard. Licensed under the MIT license.