This method causes a string to blink as if it were in a BLINK tag.
The syntax for blink() method is as follows −
string.blink( )
Returns the string with <blink> tag.
Try the following example.
<html> <head> <title>JavaScript String blink() Method</title> </head> <body> <script type="text/javascript"> var str = new String("Hello world"); alert(str.blink()); </script> </body> </html>
<blink>Hello world</blink>