dockerized_openAger/nodered/rootfs/data/node_modules/better-assert/example.js

10 lines
159 B
JavaScript
Raw Permalink Normal View History

2020-10-17 16:42:50 +00:00
var assert = require('./');
test();
function test() {
var user = { name: 'tobi' };
assert('tobi' == user.name);
assert('number' == typeof user.age);
}