Created
July 30, 2019 11:26
-
-
Save prof3ssorSt3v3/236c49d51e6a6e262eab08e2047900cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const debug = require('debug')('steve'); | |
debug('variable value... through debug'); | |
//console.log('variable value... through console.'); | |
let arr = [].fill(123, 0, 10000); | |
let arr2 = new arr.map(item => item * 10); // needed `new` in front of Array | |
debug('after the loop'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DEBUG=steve node main.js