Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

new map js

let utilisateurs = new Map()

utilisateurs.set('Mark Zuckerberg' ,{
    email: 'mark@facebook.com',
    poste: 'PDG',
})

utilisateurs.set ('bill Gates',{
    email: 'billgates@notes.com' ,
    poste : 'sauver le monde' ,

})
    
console.log(utilisateurs);
Comment

Create JavaScript Map

// create a Map
const map1 = new Map(); // an empty map
console.log(map1); // Map {}
Comment

PREVIOUS NEXT
Code Example
Javascript :: js int to string base 
Javascript :: named regex group JS 
Javascript :: You must provide either mongoUrl|clientPromise|client in options 
Javascript :: javascript max 
Javascript :: async function syntax in javascript 
Javascript :: Change the text inside the <p tag: 
Javascript :: axios post nuxt 
Javascript :: what is callback in js 
Javascript :: change image on click javascript 
Javascript :: express octet stream 
Javascript :: upload file axios 
Javascript :: comment in javascript 
Javascript :: render react component 
Javascript :: Odoo Plain Javascript files 
Javascript :: console vuex data 
Javascript :: react js http post 500 internal server error 
Javascript :: How To Add A New Element To HTML DOM 
Javascript :: Function Alert,confirm,prompt 
Javascript :: cancel or abort axios request 
Javascript :: what does document.getelementbyid return 
Javascript :: react make setstate synchronous 
Javascript :: dropzone remove error file 
Javascript :: javaScript setMinutes() Method 
Javascript :: axios forward 
Javascript :: js logical operators 
Javascript :: next js custom document 
Javascript :: set selected value of dropdown using formcontrol in angular 
Javascript :: yarn add node-sass webpacker error rails 
Javascript :: socketio connect websockets 
Javascript :: incoroporate js and css file in html 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =