扣性能(确信

This commit is contained in:
shenjack 2024-03-17 17:45:40 +08:00
parent 8e3a502ab8
commit ca41e1ee5f
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -5659,14 +5659,10 @@
// }
// for (; J.Y(C.a.gbl(names), "");) {
// names.pop()
// if (names.length === 0) return H.set_run_time_type_info([], d)
// }
for (; J.Y(C.a.gbl(names), "");) {
while (C.a.gbl(names) == "") {
names.pop() // 移除列表names的最后一个元素
// 如果列表names为空
if (names.length === 0) {
if (names.isEmpty) {
return H.set_run_time_type_info([], js_array_string)
} // 返回一个空列表
}