0
0

More than 1 year has passed since last update.

&&の後に関数を書くと困る

Posted at

関数が呼び出されない問題を解決

var isValid = false

# functionが呼び出されない
isValid = isValid && this.function(hoge)

#fix
isValid = this.function(hoge) && isValid
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0