javascript !! vs !
/*
JavaScript: Easier to learn and run, runs in browser,
not strictly object-orientated, mainly client-side.
Java: More secure, strict OOP, steeper learning curve,
used literally everywhere, needs to be compiled.
*/
3.75
8
// !! used for checking availability of data
!!'hello' // true
Thank you!
8
0
5
1
(0 == '0') // true
(0 === '0') // false
('' == 0 ) // true, the string will implicitly be converted to an integer
('' === 0 ) // false, no implicit cast is being made
Thank you!
1
0
3.83
6
/*
Java script is also better than java when it comes to front-end web development
server side performmance because node.js runs much faster than both java and
python
*/
Thank you!
6
0
5
1
/*
JavaScript can be used to do neat things like creating
animation in HTML. ... JavaScript code is run on a
browser only, while Java creates applications that run
in a virtual machine or browser. Java is an OOP
(object-oriented programming) language, and JavaScript is
specifically an OOP scripting language.
*/
Thank you!
1
0
Are there any code examples left?
New code examples in category Javascript