Please enable JavaScript.
Coggle requires JavaScript to display documents.
Objets prédéfinies en JavaScript (Array (Propriétés *Length: Longeur…
Objets prédéfinies en JavaScript
Array
Propriétés
*Length: Longeur d'un tableau
Méthodes
:check:Concat() :Concaténation des tableaux
:check:Splice() :Inséré des tableaux
:check:Shift/Unshift() :Supprime-Ajoute les premiers elements
:check:pop()/push():Ajoute/Supprime a la fin du tableau
Initialisation d'un tableau.
Insertion/Suppression des éléments.
Création d'un tableau.
Syntaxe:
Math.prototype
Propriétés
Math.E
Math.LN2]
Math.LN10 Math.LOG2E Math.LOG10E Math.PI Math.SQRT1_2 Math.SQRT2
Méthodes
Math.cbrt(x) Math.ceil(x) Math.clz32(x) Math.cos(x) Math.cosh(x)
Math.exp(x) Math.expm1(x)
Math.floor(x) Math.fround(x) Math.hypot([x[,y[,…]]]) Math.imul(x, y)Math.log(x)
Math.abs(x) Math.acos(x) Math.acosh(x) Math.asin(x) Math.asinh(x)Math.atan(x)
Math.atanh(x) Math.atan2(y, x)
Syntaxe
Date()
Date(valeur)
Date(chaîne Date)
Méthodes
Conversion de la date :
toGMTString() toLocaleString()
Renvoie de la date:
:• ate() getDay() getFullYear() getHours() getMilliseconds() getMinutes ()getMonth( )getSeconds()
Modification de la date :
•setDate() setFullYear() setHours() setMilliseconds() setMinutes()
Syntaxe
: Number((valeur)
Propriétés
: Number.EPSILON Number.MAX_SAFE_INTEGER Number.MAX_VALUE Number.MIN
SAFE
Méthodes
toFixed()
toPrecision()
toExponential()
toString()
Syntaxe
:
Symbol([description])
Propriétés
: Symbol.length
Méthodes
Symbol.keyFor(sym)
Symbol.for(key)
String
Syntaxe
: 1-'texte de chaînes de caractères'
2-string(truc)
Propriétés
String.prototype.concat()
String.prototype.indexOf()
String.prototype.charAt()
String.prototype.replace()
Méthodes
String.prototype.fixed()
String.prototype.fontsize()
String.prototype.big()
String.prototype.italics()
Nom et Prenom :
Fatma Maazoun
Wael Ben Youssef
https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/prototype
https://fr.wikibooks.org/wiki/Programmation_JavaScript/Objets_pr%C3%A9d%C3%A9finis
Math
Date
Number
Symbol