Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
javascript console.log("1 == '1.0' " + (1.0 == "1" ? "equal" : "not equal"));
Pedram
Programming language:
Javascript
2021-05-30 03:58:29
0
Q:
javascript console.log("1 == '1.0' " + (1.0 == "1" ? "equal" : "not equal"));
Keet Sugathadasa
Code:
Javascript
2021-05-24 12:00:26
console.log("1 == '1.0' " + (1.0 == "1" ? "equal" : "not equal"));
0
Tags
javascript
con
log
script
Related
javascript does not equal
javascript greater than or equal to
less than or equal js
jstl expects equals
javascript not equal
Use the conditional operator in the checkEqual function to check if two numbers are equal or not. The function should return either "Equal" or "Not Equal".
js greater than or equal to
js 1 + "1"
javascript !=== not exactly equal
equal to or more than javascript
greater than or equal to javascript
less than equal to in javascript
less than or equal to javascript
not equal to in js
javascript if equal infinity
New to Communities?
Join the community