pixelnode/node_modules/better-assert/example.js
2018-04-03 11:42:35 +02:00

10 lines
159 B
JavaScript

var assert = require('./');
test();
function test() {
var user = { name: 'tobi' };
assert('tobi' == user.name);
assert('number' == typeof user.age);
}