Skip to content

implicitly converted from boolean to number. #119

@bipulkkuri

Description

@bipulkkuri

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) ) {

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions