Add - JsArray.w(a, b) -> a.includes(b)

This commit is contained in:
shenjack 2024-03-18 22:59:30 +08:00
parent 3a5562b5c0
commit 7658cb7c41
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 4 additions and 1 deletions

View File

@ -12337,7 +12337,9 @@
async_goto = 6
break
case 8:
if (C.Array.w(o, n.a(f.a[0]).e.gb2())) {
// Array.w(a, b) -> a.includes(b)
// if (C.Array.w(o, n.a(f.a[0]).e.gb2())) {
if (o.includes(n.a(f.a[0]).e.gb2())) {
++p.win_count
};
++i;

View File

@ -18,6 +18,7 @@ h_(k) -> fYwD -> 名称输入 session storage
- `Y(a, b)` -> `a === b`
- `J(a, b)` -> `a[b]`
- `aw(a)` -> `a.length`
- `JsArray.w(a, b)` -> `a.includes(b)`
## `md5.js`