diff options
author | anushadasari <danush10@in.ibm.com> | 2019-08-05 22:27:57 +0530 |
---|---|---|
committer | anushadasari <danush10@in.ibm.com> | 2019-08-05 22:29:42 +0530 |
commit | 70638d1eb225acbc61e00ddbf9356aef38e8f143 (patch) | |
tree | 4f2c738a76c4061a863aed2ceeb9f68d1ea274fa /ccsdk-app-os | |
parent | 86a2c9e15470079d818b37d01fb01771e951622e (diff) |
Major- Replace comparison Operators
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: CCSDK-1583
Change-Id: I202ada53b472542261ee69623ea72b52005fdfab
Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'ccsdk-app-os')
0 files changed, 0 insertions, 0 deletions