Lobashov_Ivan_PIBD-21_IP/Lab2/node_modules/object-inspect/example/fn.js

6 lines
126 B
JavaScript
Raw Permalink Normal View History

2024-01-10 22:39:31 +04:00
'use strict';
var inspect = require('../');
var obj = [1, 2, function f(n) { return n + 5; }, 4];
console.log(inspect(obj));