Skip to content

Instantly share code, notes, and snippets.

@prof3ssorSt3v3
Created July 30, 2019 11:26
Show Gist options
  • Save prof3ssorSt3v3/236c49d51e6a6e262eab08e2047900cd to your computer and use it in GitHub Desktop.
Save prof3ssorSt3v3/236c49d51e6a6e262eab08e2047900cd to your computer and use it in GitHub Desktop.
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');
@farhadjaman
Copy link

DEBUG=steve node main.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment