Another way is to normalize data by using .toLowerCase(). Then we want to throw in trim() to strip whitespace. And it is easy to convert string into boolean.
確定! 回上一頁