UNPKG
react-saasify-chrisvxd
Version:
latest (1.9.0)
1.9.0
1.7.15
1.7.14
React components for Saasify web clients.
github.com/saasify-sh/saasify
saasify-sh/saasify
react-saasify-chrisvxd
/
example
/
node_modules
/
object-inspect
/
test
/
lowbyte.js
13 lines
(10 loc)
•
266 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
var
test =
require
(
'tape'
);
var
inspect =
require
(
'../'
);
var
obj = {
x
:
'a\r\nb'
,
y
:
'\5! \x1f \022'
};
test
(
'interpolate low bytes'
,
function
(
t
) { t.
plan
(
1
); t.
equal
(
inspect
(obj),
"{ x: 'a\\r\\nb', y: '\\x05! \\x1f \\x12' }"
); });