Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dédoublé un tableau et supprimé les doublons

let chars = ['A', 'B', 'A', 'C', 'B'];
let uniqueChars = [...new Set(chars)];

console.log(uniqueChars);
Langage de code :  JavaScript  ( javascript )
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #tableau #les #doublons
ADD COMMENT
Topic
Name
3+4 =