untitled notebook

node v10.24.1
version: master
endpointsharetweet
const { dump } = require('dumper.js'); const users = [ { user: 'barney', age: 36, active: true, createdAt: new Date(), getAge: () => this.age }, { user: 'fred', age: 40, active: false, createdAt: new Date(), getAge: () => this.age }, { user: 'pebbles', age: 1, active: true, createdAt: new Date(), getAge: () => this.age } ]; dump(users); // Above variable will be printed and the process will continue console.log('this will be called');
Loading…

no comments

    sign in to comment