méthode JavaScript fixe ()
Définition et utilisation
méthode fixe () pour la chaîne apparaît comme police machine à écrire.
Cette méthode renvoie une chaîne plus <tt>, comme suit:
<Tt> string </ tt>
grammaire
string.fixed()
support du navigateur
Tous les principaux navigateurs support fixe () méthode.
Exemples
Exemples
texte Typewriter pour afficher la chaîne:
<script>
var str = "Hello world!";
document.write(str.fixed());
</script>
var str = "Hello world!";
document.write(str.fixed());
</script>
Essayez »
JavaScript Object Chaîne