check string is version string or not in node js code example
Example: javascript console.log("1 == '1.0' " + (1.0 == "1" ? "equal" : "not equal"));
console.log("1 == '1.0' " + (1.0 == "1" ? "equal" : "not equal"));
console.log("1 == '1.0' " + (1.0 == "1" ? "equal" : "not equal"));