Replace == with ===
commonUtil.js:L18
Sonar link : https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-gui%3Aaai-esr-gui#resolved=false|severities=MAJOR|rules=javascript%3AEqEqEq%2Cjavascript%3ABitwiseOperators
Location : src/main/webapp/extsys/ems/js/commonUtil.js
Change-Id: I3736d67a3c437a4d895bf3e6b995231497f457fc
Issue-ID: AAI-727
Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
*/
var commonUtil = {};
commonUtil.arrayRemove = function (aryInstance, index) {
- if (aryInstance == undefined || aryInstance == null) {
+ if (aryInstance === undefined || aryInstance === null) {
return;
}
for (var i = 0, n = 0; i < aryInstance.length; i++) {