Accessing arrays

by toubia95

JavaScript

var a = ['un', 'deux', 'trois'];
alert(a[1]);
var b = 'un_deux_trois'.split('_');
alert(b[2]);