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