Tags » Loop

ARTEFACTS 3018 | Gif attempt

One of the final outcomes for Design Futures studio is…

2. An highly finished outcome and accompanying items that can be exhibited in a ‘Digital Futures” exhibition. 203 more words

Project 2: Artefacts 3018

JavaScript Quirk: for() and forEach

Today’s little nugget of awesomeness concerns a small but nifty difference between JavaScript’s inbuilt for loop and the fancier, more performant forEach.

let arr = new Array(100);

arr[0] = 0;
arr = 20;

for (let i=0; i<arr.length; i++) {
  console.log(“for”); //logged 20 times

arr.forEach(el => console.log("forEach")); //logged twice
… 80 more words

Jazzy Loop

A quick jazz loop i came across it had a nice vibe to it…

📼 Video 📼