Apply for the next session

Lesson Intro

Get deep

Newly introduced language features

  1. JavaScript

    Array.forEach

    itemsArray.forEach( function(item) {
    	console.log("item: ", item);
    });
    
    itemsArray.forEach( function(currentItem, indexOfCurrentArray, fullArray) {
    	console.log(currentItem, indexOfCurrentArray, fullArray);
    });
    
    //
    
    function renderItem(item, index) {
    	console.log(index, item);
    }
    
    itemsArray.forEach(renderItem); // consider that!
Apply for the next session