JavaScript String sup() methode

Definitie en gebruik

De methode String big() is in JavaScript afgekeurd.

In JavaScript wordt het gebruik van de string sup() niet aanbevolen.

Please avoid using it.

It may stop running at any time in your browser.

sup() The method returns the string embedded in the <sup> tag:

<sup>string</sup>

Example

let text = "Hello World!";
let result = text.sup();

Try it yourself

Syntax

string.sup()

Parameters

No parameters.

Return value

String embedded in the <sup> tag.