Opal-Estate-Pro/node_modules/better-assert/example.js
2019-09-13 11:27:52 +07:00

10 lines
159 B
JavaScript
Executable File

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