Skip to content

Instantly share code, notes, and snippets.

@farhadjaman
Forked from prof3ssorSt3v3/main.js
Created February 27, 2023 11:50
Show Gist options
  • Save farhadjaman/90cfac0d588dd9e5806c838f24bcaa0c to your computer and use it in GitHub Desktop.
Save farhadjaman/90cfac0d588dd9e5806c838f24bcaa0c 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
Author

DEBUG=steve node main.js

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