node-test/node_modules/object-inspect/example/fn.js
2022-12-15 10:14:42 +00:00

6 lines
126 B
JavaScript

'use strict';
var inspect = require('../');
var obj = [1, 2, function f(n) { return n + 5; }, 4];
console.log(inspect(obj));