Welcome to mirror list, hosted at ThFree Co, Russian Federation.

inspect.js « example « object-inspect « node_modules - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e2df7c9f471356c48f14e7af2813119ffb6854bb (plain)
1
2
3
4
5
6
7
8
9
10
'use strict';

/* eslint-env browser */
var inspect = require('../');

var d = document.createElement('div');
d.setAttribute('id', 'beep');
d.innerHTML = '<b>wooo</b><i>iiiii</i>';

console.log(inspect([d, { a: 3, b: 4, c: [5, 6, [7, [8, [9]]]] }]));