카타 8급 get ascii value of character

Kotlin[ | ]

fun getAscii(c: Char): Int {
  return c.toInt()
}
fun getAscii(c: Char): Int = c.toInt()
val getAscii = Char::toInt
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}