JavaScript String bold() Method
Definition and Usage
The 'bold()' method in JavaScript is deprecated.
Please avoid using it.
It may stop running at any time in your browser.
bold()
The method returns the string embedded in the <b> tag:
<b>string</b>
Syntax
string.bold()
Parameters
No parameters.
Return Value
String embedded in the <b> tag.