add kotlin-js-library-example maven project

This commit is contained in:
Michael Nedzelsky
2014-11-05 19:38:46 +03:00
parent 9734980334
commit 6c55e12588
3 changed files with 120 additions and 0 deletions
@@ -0,0 +1,8 @@
package library.sample
public fun pairAdd(p: Pair<Int, Int>): Int = p.first + p.second
public fun pairMul(p: Pair<Int, Int>): Int = p.first * p.second
public data class IntHolder(val value: Int)