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
We're a place where coders share, stay up-to-date and grow their careers.
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
Kunal Agrawal -
Mihai-Adrian Andrei -
Cristian Fernando -
Hector Sosa -
Once suspended, callmebobonwa will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, callmebobonwa will be able to comment and publish posts again.
Once unpublished, all posts by callmebobonwa will become hidden and only accessible to themselves.
If callmebobonwa is not suspended, they can still re-publish their posts from their dashboard.
Discussion (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.