The Journey of #100DaysOfCode (@henna_dev)

#Day47 of 100daysofcode

Today was a day full of meetings :upside_down_face: and today is Happy Friday too… Fridays are my favorite because I talk to people I love to end my week… :revolving_hearts: :kissing_heart:

Today I enjoyed a great dinner and my favorite cocktail :yum: :yum: and some music :musical_note:

I finished the Variables chapter in Javascript and some notes as below:

  • Variables hold reusable data in a program and associate it with a name.

  • Variables are stored in memory.

  • The var keyword is used in pre-ES6 versions of JS.

  • let is the preferred way to declare a variable when it can be reassigned, and const is the preferred way to declare a variable with a constant value.

  • Variables that have not been initialized store the primitive data type undefined .

  • Mathematical assignment operators make it easy to calculate a new value and assign it to the same variable.

  • The + operator is used to concatenate strings including string values held in variables

  • In ES6, template literals use backticks ``` and ${} to interpolate values into a string.

  • The typeof keyword returns the data type (as a string) of a value.

I also wrote a brief Realm Byte on Embedded Objects

Until Tomorrow, :performing_arts: (I am going to trekk on SugarLoaf Mountains)

3 Likes