Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Enregistrer le code
Ctrl+Alt+A
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <body> <h1>JavaScript Tableaux Typés</h1> <h2>La propriété constructor.name</h2> <p id="demo"></p> <script> // Créer un tableau typé const myArr = new Int32Array(10); // Afficher constructor.name document.getElementById("demo").innerHTML = myArr.constructor.name; </script> </body> </html>