英[sʌp] 美[sʌp]

vt. Drink in small sips; drink with a spoon; sip (soup, tea, etc.); <Mei, mouth> drink (wine)

vi.<Ancient>Have dinner

n.Sip (drink)

Third person singular: sups Present participle: supping Past tense: supped Past participle: supped

javascript sup() method syntax

Function: Display the string as a superscript.

Syntax: stringObject.sup()

javascript sup() method example

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script type="text/javascript">

    var str="Hello world!"
    document.write(str.sup())

</script>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance