1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 04:40:29 +02:00

Handle more JavaScript binary operators

* module/language/javascript.scm (print-binop): Handle `begin' & `instanceof'
This commit is contained in:
Ian Price 2017-08-27 22:22:24 +01:00
parent d4ef33f6cf
commit 4ef95dd74c

View file

@ -179,7 +179,8 @@
((or) (display "||" port))
((and) (display "&&" port))
((=) (display "==" port))
((+ - < <= > >= ===) (format port "~a" op))
((begin) (display "," port))
((+ - < <= > >= === instanceof) (format port "~a" op))
(else
(throw 'unprintable-binop op))))