method:toUpperCase ();return type:stringcontent:ใช้แปลงตัวอักษรเป็น ตัวพิมพ์ใหญ่example:var str = new String ( "welcome" ); alert ( str.toUpperCase() );