Last active
April 22, 2016 00:07
-
-
Save ihji/bd15cda18712265d2894591c4aaa226e to your computer and use it in GitHub Desktop.
ScalaJs Test
This file contains 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
object ScalaJSExample extends js.JSApp{ | |
def main(): Unit = { | |
println("좋은 하루 되세요.".split(" ").map{_.replace("&#x","").split(";").map{x=>Integer.parseInt(x,16).toChar}.mkString}.mkString(" ")) | |
println("좋은 하루 되세요.".split(" ").map{_.split(";").map{x=>BigInt(x.drop(3),16).toChar}.mkString}.mkString(" ")) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment