<@U9PHVDXDZ> commented on <@U9Z95HMAS>’s file <htt...
# javascript
u
@Roman Artemev [JB] commented on @Jared’s file https://kotlinlang.slack.com/files/U9Z95HMAS/FA5203VPX/-.js: Hi Jared, I would go this way,
Copy code
external open class FCC {
    open fun randomFinancial() : (Int) -> dynamic = definedExternally
}

val randomFinancialGenerator = fc.randomFinancial()
val points = randomFinancialGenerator(50)