详解JavaScript中数组和字符串的lastIndexOf()方法使用