What does assert mean in JavaScript?
assert
I’ve seen something like:
assert(function1() && function2() && function3(), \"some
It probably came with a testing library that some of your code is using. Here's an example of one (chances are it's not the same library as your code is using, but it shows the general idea):
http://chaijs.com/guide/styles/#assert