Home > front end >  Why the if (false) in the Javascript can perform?
Why the if (false) in the Javascript can perform?

Time:10-02

A generated function randData array element values are not repeat,
Judge array reverse number parity function isSolvable,
Why in the if randData (isSolvable ()) regardless of the real value of true and false?

CodePudding user response:

The result is there anything wrong?
If the value of false will perform the else code,
Else code execution randData is recursive,

CodePudding user response:

reference 1/f, the sky wave response:
the result is there anything wrong?
If the value of false will perform the else code,
The else code execution randData is recursive,

Bosses console I didn't cut flush, private sent to you
  • Related