Gabriele Ferro Home

Coding and Lockdown

Today, there is a very high probability of a return to lockdown for 40 days in France, so it is very likely that the last 30 days of my #100DaysOfCode challenge will be very interesting!

Day 70: 27 October 2020

**Today’s Progress:**

I received a book on Node.js that I have already started to study.

Thanks to JavaScript Teacher! (@js_tut on Twitter)


I reviewed the first part of the Upgrade to Full stack with Node.js, Express and MongoDB course (in French) that covers Node.js, nodemon, Postman, Express, Middleware, CRUD and CORS.



Review & Cheatsheet

Awesome job on clearing the iterators lesson! You have learned a number of useful methods in this lesson as well as how to use the JavaScript documentation from the Mozilla Developer Network to discover and understand additional methods. Let’s review!

  • .forEach() is used to execute the same code on every element in an array but does not change the array and returns undefined.
  • .map() executes the same code on every element in an array and returns a new array with the updated elements.
  • .filter() checks every element in an array to see if it meets certain criteria and returns a new array with the elements that return truthy for the criteria.
  • .findIndex() returns the index of the first element of an array which satisfies a condition in the callback function. It returns -1 if none of the elements in the array satisfies the condition.
  • .reduce() iterates through an array and takes the values of the elements and returns a single value.
  • All iterator methods takes a callback function that can be pre-defined, or a function expression, or an arrow function.
  • You can visit the Mozilla Developer Network to learn more about iterator methods (and all other parts of JavaScript!).


Review & Cheatsheet

Way to go! You’re well on your way to understanding the mechanics of objects in JavaScript. By building your own objects, you will have a better understanding of how JavaScript built-in objects work as well. You can also start imagining organizing your code into objects and modeling real world things in code.

Let’s review what we learned in this lesson:

  • Objects store collections of key-value pairs.
  • Each key-value pair is a property—when a property is a function it is known as a method.
  • An object literal is composed of comma-separated key-value pairs surrounded by curly braces.
  • You can access, add or edit a property within an object by using dot notation or bracket notation.
  • We can add methods to our object literals using key-value syntax with anonymous function expressions as values or by using the new ES6 method syntax.
  • We can navigate complex, nested objects by chaining operators.
  • Objects are mutable—we can change their properties even when they’re declared with const.
  • Objects are passed by reference— when we make changes to an object passed into a function, those changes are permanent.
  • We can iterate through objects using the syntax.


I have been living for three years in France and I never had the time or the chance to resume studying seriously.

I started the OpenClassRooms certified formation in full confinement just to give a sense and usefulness to all this time spent at home.

OpenClassRooms - Web Developer path

So far, I have built 5 projects and I followed tons of courses.

OpenClassRooms - Web Development courses

I have created my personal roadmap to better organize my time and not to surf randomly on the internet looking for tutorials.

freeCodeCamp - Fullstack developer path
Codecademy - JavaScript course

Everything seems to proceed according to plan...

Will I be able to make every country read this blog ?

**Link to tweet:**

[twitter-follow screen_name='20Gabriele20']

June 2024


Gabriele Ferro Home
Copyright © Ferro Gabriele. All rights reserved.