Last active
April 1, 2025 10:43
-
-
Save hute37/b012265bb27c5011a6e1f6e6dd140147 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="java" default="main" basedir="."> | |
<target name="main"> | |
<script language="javascript"> | |
<![CDATA[ | |
with(new JavaImporter(java.lang, java.io)){ | |
var fun = function(a,b){ | |
System.out.println(a+b); | |
}; | |
fun(1,2); | |
} | |
]]> | |
</script> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment