You can now use the ES6 includes() method to check if a strings contains a ... a long way when making decisions on toggling classes, etc through vanilla JS.
確定! 回上一頁