Comcast / Comcast/Speed-testJS
implicitly converted from boolean to number.
Open
bug
- Dominant language
- JavaScript
- Stars
- 91
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/Comcast/Speed-testJS/blob/master/controllers/CalculatorController.js
if (typeof req.body === 'undefined' && (!(req.body).length > 0) ) {
can this be
if (typeof req.body === 'undefined' && ((req.body).length < 0) ) {
Contributor guide
Assessment
This issue has not been assessed yet.