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

4 lines
113 B
JavaScript
Raw Permalink Normal View History

2020-02-24 12:29:22 +00:00
var inspect = require('../');
var obj = [ 1, 2, function f (n) { return n + 5 }, 4 ];
console.log(inspect(obj));