DEV Community

Cover image for Day-67 Training At Ryaz
mahin651
mahin651

Posted on

Day-67 Training At Ryaz

Date:15/04/2022
Day:Friday

Today, I started at about 10:35 am as I was in progress to the ninth module so, I started with the left over modules so, I begin with the spread operator Spread syntax ... allows an iterable such as an array expression or string to be expanded in places where zero or more arguments can take example if we declare array as [1,2,3] and we call spread operator as with console.log so we get output as 6 and Spread syntax can be used when all elements from an object or array need to be included in a list of some kind after this I started with rest pattern and parameters The rest parameter syntax allows a function to accept an indefinite number of arguments as an array, providing a way to represent functions in java script after this I started with short circuiting && and || operator as the instructor started with if we pass two arguments with or and and operator so, what we would get the output and after this I started with Nullish Coalescing Operator it is used to either print the result if it is null or it is undefined and after this I started with logical assignment operator as to get true or false output so, this way my day ended up and I got to learn many new things .

Top comments (0)