Example for PL ULL
npm install @alu0101238944/addloggingPara la realización de esta práctica se han seguido las instrucciones de este enunciado y de la clase grabada del profesor.
---
A function to insert console.logs at the beginning of arrow functions, function expression, and function declaration.
``bash`
$ npm install @alu0101238944/addlogging
`js`
const addLogging = require('@alu0101238944/addlogging');
console.log(addLogging('(x) => { x + 1; }'));
`bash``
$ npm run mocha # Mocha and chai tests
$ npm run mocha-cat # Mocha and chai tests (Nyan cat)
$ test # Mocha and chai tests + nyc coverage
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.
All code documentation is available in
* 0.1.0 Initial release
* 0.1.1 Attempt 1 to fix bugs in publish
* 0.1.2 Attempt 2 to fix bugs in publish
* 0.1.3 Attempt 3 to fix bugs in publish
* 0.1.4 Fixing bugs in publish
* 0.2.0 Pattern can be a RegExp