🌈 搜索
📅  最后修改于: 2022-03-11 15:04:27.450000             🧑  作者: Mango
if (loc_array[loc_array.length - 1] === 'index.html') { // do something } else { // something else }