Day-68 Training At Ryaz
mahin651
Posted on April 18, 2022
Date:18/04/2022
Day:Monday
Today, I started at about at 10:40 am as I way in progress to complete the java script course so, I was done with partially ninth module so, I started with the left over part so, firstly I started with for loop its for loop is same as we use in c and c++ as we declare the variable first like I=1 and for loop runs upto the iterations so, it have same syntax as we use it in other languages after this I started with enhanced object literals as it uses the es6 enhanced object literals Object literal enhancement is used to group variables from the global scope and form them into javascript objects. It is the process of restructuring or putting back together like to define function we only do function() and after this we write required console.log statements in the braces and after this I started with I started with optional chaining The optional chaining operator ?. enables you to read the value of a property located deep within a chain of connected objects without having to check that each reference in the chain is valid and after this I started with object keys values and The Object.keys() method returns an array of a given object's own enumerable property names, iterated in the same order that a normal loop would after this I started with sets as we use the array so sets are same as arrays elements so, if we declare the sets and we can use the sets operations like odering the elements and after this I started with map and it have different functions like creates a new array from calling a function for every calls a function once for each element in an array,does not execute the function for empty elements,
does not change the original array. soothes way my day ended up and I learnt various new things.
Posted on April 18, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.