Kotlin inline functions in javascript with proper code line results in console

后端 未结 0 1114
春和景丽
春和景丽 2021-02-11 11:58

I want to write a simple helper logging function in kotlin-js, like so:

inline fun log(block: () -> String){
    kot         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题