Shouldn't the if(text=='E') contain 3 equal to symbols instead of 2 in the js code here? [duplicate]

<>

This question already has an answer here:

Answers


No, it would not crash. == as well as === are both equality operators, differing only in strictness.

1 == "1"
true
1 === "1"
false
1 == true
true
1 === true
false
0.00 == false
true
0.00 === false
false

Need Your Help

Do 2 java processes share JVM

java linux memory jvm

Say I run 2 java processes in a machine, do they share JVM or they have their own separate JVM. I remember setting something like export JVM_OPTS="-Xms64m -Xmx1024m"

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.