aboutsummaryrefslogtreecommitdiffstats
path: root/backend/node_modules/object-inspect/example/fn.js
diff options
context:
space:
mode:
Diffstat (limited to 'backend/node_modules/object-inspect/example/fn.js')
-rw-r--r--backend/node_modules/object-inspect/example/fn.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/node_modules/object-inspect/example/fn.js b/backend/node_modules/object-inspect/example/fn.js
new file mode 100644
index 0000000..9b5db8d
--- /dev/null
+++ b/backend/node_modules/object-inspect/example/fn.js
@@ -0,0 +1,5 @@
+'use strict';
+
+var inspect = require('../');
+var obj = [1, 2, function f(n) { return n + 5; }, 4];
+console.log(inspect(obj));