I think it’s also important to note here some knowledge, we already should have. Or at least I should have them. I don’t want to forget those basics and I would to work on it even when I will be back in the Czech Republic. I think, this kind of aquiring of knowledge and also blogging about it it’s very interesting. It works little bit like an excercise book. So here I want have those things to be able to return to them whenever I need:
= refers to the type of values with which a program can work. JavaScript can hold many data types such as numbers (which can be written with or without decimals) strings, arrays, and more.
= are used for storing and manipulating text and a string can be any text that appears within quotes. You can use single or double quotes.
I think that is very important to know....for example:
var text = “My name is John Smith”;
but you can also use the quote inside of the string it means you will write:
var text = “My name is ‘John’ ”;
= booleans can have one of two values. Either true or false.
-> That means, you can use it, when you need values such as Yes/No, On/Off or True/False
The other important thing is DECREMENT
= decrement decrements the numeric value of its operand by one. If placed before the operand, it returns the decremented value. If placed after the operand, it returns the original value and then decrements the operand.