+ 7
Mad JavaScript!! 😓
Okay I've got experienced in different skills, but JS seems to be a nightmare, especially when working with data types and functions, although I'm trying to become familiar with it. Was this normal for anyone, when you started to go deeply in this CRAZY lang 😂😩😠 Need support to gain some more knowledge
7 Antworten
+ 16
It's normal as you'll gradually get used to it. Your programming experience will help you especially if you're from Java.
Data types
*Number //not integer
*String // nothing like 'char'
*Object(typeof array is object)
*function
*Boolean
*Date
NaN - Not a Number
typeof NaN == "number" // true
Javascript is crazy.
+ 16
@Hasan, www.javascript.info, developer.mozilla.org
+ 5
@wisdom thanks for your response ..
But without doubt, you know it's preferred to read some more detailed stuffs, & I will appreciate if you provide me a resource .. or code reviews.
To be more specific, I have problems with:
- equal: == and ===
- data types: null, undefined, NaN;
Ex:
var x=NaN; var y=250;
alert(x+y);
And other things ..
Note that I have completed Sololearn's tutorial, but challenges seems to be from Mars 😅
+ 3
Thanks @Ben, this will help me a lot, you deserve to get the best answer 😃
+ 3
@wisdom this is very informative, yet in simple way .. thanks again
+ 3
you are right! but i started learning javascript first and then other languages, which was easy to learn.