JavaScript String fixed()

❮ JavaScript String Reference

Example

let text = "Hello World!";
let result = text.fixed();
Try it Yourself »

Description

String fixed() is deprecated in JavaScript.

Avoid using it.

It may cease to work in your browser at any time.

The fixed() method returns a string embedded in a <tt> tag:

<tt>string</tt>

The <tt> tag is not supported in HTML5.


Syntax

string.fixed()

Parameters

NONE

Return Value

A string embedded in a <tt> tag.

❮ JavaScript String Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.