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
I received a book on Node.js that I have already started to study.
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
.forEach()is used to execute the same code on every element in an array but does not change the array and returns
.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
-1if 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.
Review & Cheatsheet
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
- 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
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.
So far, I have built 5 projects and I followed tons of courses.
I have created my personal roadmap to better organize my time and not to surf randomly on the internet looking for tutorials.
Everything seems to proceed according to plan...
**Link to tweet:**