iotjs
iotjs copied to clipboard
Complete assert module
- [x] assert
- [x] assert.fail
- [x] assert.equal
- [x] assert.notEqual
- [x] assert.strictEqual
- [x] assert.notStrictEqual
- [x] assert.throws
- [x] assert.doesNotThrows
Looks like Jerry engine snatches assert() expression for example following program runs unexpectedly.
function assert(value) {
print(value);
}
assert(0);
Related https://github.com/Samsung/jerryscript/issues/28
Closing as #77 landed