js-on-sx: split(undefined) returns whole string, funcexpr implicit return is undefined
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 26s

This commit is contained in:
2026-05-10 04:56:02 +00:00
parent df5e36aa5e
commit d7cc6d1b39
3 changed files with 15 additions and 8 deletions

View File

@@ -1503,7 +1503,7 @@
(list
(js-sym "fn")
(list (js-sym "__return__"))
(cons (js-sym "begin") (append inits body-forms))))))
(cons (js-sym "begin") (append (append inits body-forms) (list nil)))))))
(list
(js-sym "if")
(list (js-sym "=") (js-sym "__r__") nil)