Qunitjs | notPropEqual Function

The notDeepEqual() is a built-in function of Qunitjs test suite which compare the values of two objects properties.

The notPropEqual assertion uses the strict inverted comparison operator (!==) to compare the actual and expected arguments as Objects regarding only their properties but not their constructors.

Syntax:

Qunitjs notPropEqual Function Example

A strict comparison of an object’s own properties, checking for inequality.

Reference: https://api.qunitjs.com/assert/notPropEqual

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:


Editorial Staff

Editorial Staff at FreeWebMentor is a team of professional developers.