什么是typeof关键字
我找不到Kotlin文档中的含义,也没有通过Google搜索。 它肯定存在,虽然IntelliJ强调它作为一个关键字Kotlin的自动生成的关键字列表文件也包含它 。 我试图弄清楚自己做了什么,但唯一的结果是IntelliJ告诉我Unexpected tokens (use ';' to separate expressions on the same line)
它是什么,它做了什么?
// Reserved for future use: KtKeywordToken TYPEOF_KEYWORD = KtKeywordToken.keyword("typeof");
所以这个目前不被使用,但可能在未来