JavaScript sup() Method
Definition and Usage
The sup() method is used to display a string as superscript.Syntax
stringObject.sup() |
Example
In this example "Hello world!" will be displayed in superscript:<script type="text/javascript"> var str="Hello world!"; document.write(str.sup()); </script> |
JavaScript sup() Method
Reviewed by 1000sourcecodes
on
20:51
Rating: