| concat() | ใช้เชื่อมข้อความ เหมือนการใช้ตัวดำเนินการ "+" |
|---|
method:concat ( string );
return type:string
content:ใช้เชื่อมข้อความ เหมือนการใช้ตัวดำเนินการ "+"
example:var str1 = new String ( "bamboo" ); var str2 = new String ( "labcode" ); alert ( str1.concat ( str2 ) );