const jumpPermissionList = [".openadsdk.permission.TT_PANGOLIN", "com.hihonor.permission"]
for (let x in jumpPermissionList) {
console.log("for x:",x)
if (permission.includes(jumpPermissionList[x])) {
jumpPermission = true
console.log("includes:",jumpPermission)
}
}
The x printed by console.log("for x:",x) is not a child element. but the child element index
This is not the same as python
Python prints out child elements