[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

When is it appropriate to use == vs ===

Posted on 2016-09-16
3
Medium Priority
?
99 Views
Last Modified: 2016-09-19
When is it ever appropriate to use == vs ===? I hear strict equals is the way to go.
0
Comment
Question by:James Bilous
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

Assisted Solution

by:Kimputer
Kimputer earned 2000 total points
ID: 41801975
Indeed
0
 
LVL 36

Accepted Solution

by:
Kimputer earned 2000 total points
ID: 41803641
You changed question after I posted, never giving me a chance to answer.

Here's a good documentation on it.

https://developer.mozilla.org/en/docs/Web/JavaScript/Equality_comparisons_and_sameness


As with EVERYTHING in life, it's not that black and white. For every situation, requires a slightly different solution.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question