matchよりもindexOfかtestがいい
Web標準化時代のJavaScript
http://www.openspc2.org/JavaScript/Web_Standard/204/index.html
を読んでいますと、ifの条件式には、matchよりも、testかindexOfがいいのではないかと痛感しました。
SIEでも書き直すかもしれません。
Web標準化時代のJavaScript
http://www.openspc2.org/JavaScript/Web_Standard/204/index.html
を読んでいますと、ifの条件式には、matchよりも、testかindexOfがいいのではないかと痛感しました。
SIEでも書き直すかもしれません。