+ 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

26th Apr 2017, 7:50 PM
Hsn
Hsn - avatar
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.
26th Apr 2017, 8:00 PM
Wisdom Abioye
Wisdom Abioye - avatar
+ 16
@Hasan, www.javascript.info, developer.mozilla.org
27th Apr 2017, 5:03 AM
Wisdom Abioye
Wisdom Abioye - avatar
26th Apr 2017, 11:27 PM
Benneth Yankey
Benneth Yankey - avatar
+ 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 😅
26th Apr 2017, 10:34 PM
Hsn
Hsn - avatar
+ 3
Thanks @Ben, this will help me a lot, you deserve to get the best answer 😃
27th Apr 2017, 4:42 AM
Hsn
Hsn - avatar
+ 3
@wisdom this is very informative, yet in simple way .. thanks again
27th Apr 2017, 8:16 AM
Hsn
Hsn - avatar
+ 3
you are right! but i started learning javascript first and then other languages, which was easy to learn.
3rd May 2017, 7:51 PM
Kundan Bhasin
Kundan Bhasin - avatar