+ 1

I don't get what identical means. Can anyone please help out?

15th Jul 2016, 7:21 PM
Lydia Youssef
Lydia Youssef - avatar
3 ответов
+ 6
i hope this example help you var x=10; y="10"; /*there is string*/ document.write( x==y) the answer will be true but if document.write(x===y) the answer will be false
20th Jul 2016, 2:30 PM
Khaled Ashraf
Khaled Ashraf - avatar
+ 1
Equal to (==) compares only the value, but Identical(===) also compares the type along with the value
1st Aug 2016, 7:04 AM
Sumitabha Banerjee
Sumitabha Banerjee - avatar
0
Imagine a glas of water and a glas if beer! The same volume diferent liquids - not identical. Now look at two glases of beer! The same volume and the same liquid - so we can say they are identical.
23rd Aug 2016, 5:09 AM
Guntars Revelins