MediaWiki:Array.js

var courses =new Arrya("HTML", "CSS", "JS"); var course = couses[0]; //HTML courses[1] = "C++"; /*This changes the second element*/