tried on various platforms,
on the J Server it also gives wrong result:
Engine: j9.7.0-beta8/j32/wasm
Build: commercial/2025-10-05T19:11:34/clang-22-0-0/SLEEF=0
Library: 9.7.4
Platform: Wasm 32
Installer: unknown
InstallPath: /home/web_user/j
Contact:
www.jsoftware.com
{{ (]F.:((-.+:+]*}:@:i.@(y&(<.@%)))~^:e.))~}.>:i.y }} 6
4 5
on the Juno, however, the same expression gives expected result
Engine: j9.7.0-beta8/j32/wasm
Build: commercial/2025-10-05T19:11:34/clang-22-0-0/SLEEF=0
Library: 9.7.4
Platform: Wasm 32
Installer: unknown
InstallPath: /home/web_user/j
Contact:
www.jsoftware.com
{{ (]F.:((-.+:+]*}:@:i.@(y&(<.@%)))~^:e.))~}.>:i.y }} 6
[1]: 2 3 5