iotjs icon indicating copy to clipboard operation
iotjs copied to clipboard

Complete assert module

Open ILyoan opened this issue 11 years ago • 2 comments

  • [x] assert
    • [x] assert.fail
    • [x] assert.equal
    • [x] assert.notEqual
    • [x] assert.strictEqual
    • [x] assert.notStrictEqual
    • [x] assert.throws
    • [x] assert.doesNotThrows

ILyoan avatar Jun 10 '15 03:06 ILyoan

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

ILyoan avatar Jun 10 '15 06:06 ILyoan

Closing as #77 landed

ILyoan avatar Jun 10 '15 07:06 ILyoan