github-pages-deploy-action/node_modules/object-inspect/example/fn.js

6 lines
126 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
'use strict';
2020-01-28 13:08:03 +08:00
var inspect = require('../');
2020-03-07 11:45:40 +08:00
var obj = [1, 2, function f(n) { return n + 5; }, 4];
2020-01-28 13:08:03 +08:00
console.log(inspect(obj));