SyntaxFix
Write A Post
Hire A Developer
Questions
As mentioned by T.J., There is no assert in JavaScript. However, there is a node module named assert, which is used mostly for testing. so, you might see code like:
assert
const assert = require('assert'); assert(5 > 7);