I'm currently learning JavaScript. It's a really simple function and I don't get why the console always send return undefined, even if my test Array is defined! Making me crazy! I'm sure it's easy but I can't get over it!
var test = [150];
function testFuntion() {console.log(test[0]); }