Definition and Usage The fixed() method is used to display a string as teletype text. Syntax stringObject.fixed() Example In this ...
Definition and Usage
The fixed() method is used to display a string as teletype text.Syntax
stringObject.fixed() |
Example
In this example "Hello world!" will be displayed as teletype text:<script type="text/javascript"> var str="Hello world!"; document.write(str.fixed()); </script> |