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

4 lines
113 B
JavaScript
Raw Permalink Normal View History

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