hexo/node_modules/object-inspect/example/fn.js

6 lines
131 B
JavaScript
Raw Normal View History

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