diff options
author | anushadasari <danush10@in.ibm.com> | 2019-10-01 13:03:51 +0530 |
---|---|---|
committer | anushadasari <danush10@in.ibm.com> | 2019-10-01 13:04:12 +0530 |
commit | 862abccfdf8097e147ca743471066c4c236194b9 (patch) | |
tree | 054ab4ffb9b4174a75c98cdb17cef752bdfe2dfa /vid-app-common/.gitignore | |
parent | fdea9e36bd95193d2e920398beee914e4953919c (diff) |
Replace "==" with "===".
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>
Diffstat (limited to 'vid-app-common/.gitignore')
0 files changed, 0 insertions, 0 deletions