The == and != operators do type coercion before comparing values. This is bad because it can mask type errors. For example, it evaluates ' \t\r\n' == 0 as true.
It is best to always use the side-effect-less === and !== operators instead.
Issue-ID: VID-656
Change-Id: If93fe032fae618bb0bd7112c24a0e4d3acab6337
Signed-off-by: anushadasari <danush10@in.ibm.com>
$scope.properties = UtilityService.getProperties();\r
$scope.resumeStatus = COMPONENT.RESUME_STATUS;\r
//isPermitted - returned as string from url and converted into boolean\r
- $scope.isPermitted = $location.search().isPermitted == "true";\r
+ $scope.isPermitted = $location.search().isPermitted === "true";\r
$scope.STATUS_CONSTANTS = FIELD.STATUS;\r
$scope.pnfs = [];// PNF data init;\r
$scope.collectionResource = {};\r