GoScrobble/web/node_modules/object-inspect/example/fn.js

6 lines
126 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
'use strict';
var inspect = require('../');
var obj = [1, 2, function f(n) { return n + 5; }, 4];
console.log(inspect(obj));