example.js 159 B

12345678910
  1. var assert = require('./');
  2. test();
  3. function test() {
  4. var user = { name: 'tobi' };
  5. assert('tobi' == user.name);
  6. assert('number' == typeof user.age);
  7. }