install-nix-action/node_modules/object-inspect/example/fn.js

4 lines
113 B
JavaScript
Raw Normal View History

2019-11-20 03:50:30 +11:00
var inspect = require('../');
var obj = [ 1, 2, function f (n) { return n + 5 }, 4 ];
console.log(inspect(obj));