Top

#5. LES TYPES DE DONNÉES (PARTIE 2/2)

JavaScript
console.log("J'espère que tout va bien pour vous !");

let age1 = 30;
let age2 = 31;
const pi = 3.14;
let nameClient = "Julien d'abord";
let isWorking = false;
let nombreDeProduitsDansLePanier = 12;

let genre = null;

let nom1 = Symbol("id");
let nom2 = Symbol("id");
/*
    TYPES DE DONNES EN JS

    1. number
    2. String (chaine de caractère)
    3. Boolean : true or false
    4. undefined
    5. null
    6. BigInt
    7. Symbol
*/

console.log(nom1 == nom2);

Testez votre compréhension du chapitre

Laissez votre commentaire

Précédent Suivant