UNPKG
homebridge-gsh-kazari
Version:
latest (2.2.2)
2.2.2
2.2.1
Google Smart Home
github.com/UiharuKazari2008/homebridge-gsh
UiharuKazari2008/homebridge-gsh
homebridge-gsh-kazari
/
node_modules
/
object-inspect
/
example
/
inspect.js
11 lines
(7 loc)
•
251 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
'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
]]]] }]));