Bonjour,

Dans le code suivant, je n'arrive pas � utiliser les fonctions fl�ch�es =>, en particulier pour la fonction styleParams(). J'ai essay� plusieurs �critures mais je suis g�n� par l'�criture en objet avec les ':'
Code javascript : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
const BadgeLine = {
 
	// Propriétés
 
	contentRange:		0,	// n° de champ
	cellChildsParams:	[],	// Paramètres de contenu de cellules
	cellChild:			'',	// Contenu temporaire de cellule
 
	// Méthodes
 
	// Paramètres des contenus de cellules de style
	styleParams:	function(badgeLineRange) {
		this.cellChildsParams.push(['', '', badgeLineRange]);
		this.cellChildsParams.push(['input', {id:createId('bold',badgeLineRange),type:'checkbox'}, '']);
		this.cellChildsParams.push(['input', {id:createId('italic',badgeLineRange),type:'checkbox'}, '']);
		this.cellChildsParams.push(['input', {id:createId('underline',badgeLineRange),type:'checkbox'}, '']);
		this.cellChildsParams.push(['select',{id:createId('font',badgeLineRange)}, '']);
		this.cellChildsParams.push(['input', {id:createId('size',badgeLineRange), type:'number', min:8, max:42, value:12}, '']);
		this.cellChildsParams.push(['select',{id:createId('color',badgeLineRange)}, '']);
		this.cellChildsParams.push(['img',   {id:createId('del',badgeLineRange), src:'_images/del.png', alt:'del.png', title:fromPHPtoJS.delLine}, '']);
		console.log(this.cellChildsParams);
	},
	// Ajout d'une ligne de badge
	addLine:	function() {
		badgeLineRange++;
		this.styleLine			= document.createElement('tr'); 	// Ligne de style
		this.contentLine		= document.createElement('tr');		// Ligne de données
		this.styleLine.id		= createId('sty', badgeLineRange);
		this.contentLine.id		= createId('con', badgeLineRange);
		this.styleCells			= [];								// Cellules de la ligne de styles 
		this.contentCell		= '';								// Cellule unique de contenu
 
		// Ajout des deux lignes du tableau
		kTbody.appendChild(this.styleLine);
		kTbody.appendChild(this.contentLine);
 
		BadgeLine.styleParams(badgeLineRange);
		const styleCellsNb = this.cellChildsParams.length;
		console.log(this.cellChildsParams);
	},
}
Edit: D�sol�, je viens de m'apercevoir que cette �criture n'�tait pas compatible avec IE. J'essaye d'utiliser bind mais je ne m'en sors pas, tellement la documentation est incompr�hensible aussi bien avec MDN que MSDN.