<html> <body> <button onclick="var myS = new String('Sample String'); document.write(myS.blink());">String: BLINK</button> </body> </html>