I am refactoring some javascript code and came across this expression:
false === options.onSubmit.call(this)
What would be the purpose to put the false
first? Is there a difference between that expression and this expression?
options.onSubmit.call(this) === false