Global Object

.toUpperCase()

2025-06-09

.toUpperCase()[[string]] 对象的方法,将字符串转换为大写形式。

语法

string.toUpperCase();