Some improvements:
Some improvements:

* Converted the code sample to a runnable one;
* Accepted @ilya-g's suggested title & placement;
* Minor terminology changes (e.g. *method* → *function*)
* Rephrased some accents, shortened some sentences
JetBrains/kotlin-web-site,JetBrains/kotlin-web-site,hltj/kotlin-web-site-cn,JetBrains/kotlin-web-site,meilalina/kotlin-web-site,hltj/kotlin-web-site-cn,meilalina/kotlin-web-site,JetBrains/kotlin-web-site,hltj/kotlin-web-site-cn,hltj/kotlin-web-site-cn,meilalina/kotlin-web-site,hltj/kotlin-web-site-cn,hltj/kotlin-web-site-cn,JetBrains/kotlin-web-site,meilalina/kotlin-web-site,JetBrains/kotlin-web-site