You can help me explain some of this words just in variables.
-> Concatenation
-> conversion
-> Coercion
-> Truthy and Falsy .
and give me some examples too...
Note: This words are under variables types in javascript
You can help me explain some of this words just in variables.
-> Concatenation
-> conversion
-> Coercion
-> Truthy and Falsy .
and give me some examples too...
Note: This words are under variables types in javascript
For further actions, you may consider blocking this person and/or reporting abuse
Olashina -
The Witcher -
Mike Young -
Hadiza Mohammed -
Top comments (8)
Concatenation:
Conversion:
Coercion:
Truthy and Falsy:
This is a weird one in JS
Hope it's useful
thanks man for this,
i really appreciate.
This is a great explanation right here.
thanks for this,
very simple to understand
wow,
thanks for this
Thanks for this..
i really appreciate
Coercion happens when you try to join two different values (values like string and Number) together e.g
When you something like this
let age = 12;
let myName = "dovey";
const result=age + myName;
console.log(result)
the result would be 12dovey javascript engine noticed that they both are not of the same value and can not be joined together to get an appropriate mean so it had to coerced i.e forcefully joining them together to get a result.