Global Object

.toUpperCase()

2025-06-09

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

语法

string.toUpperCase();