+ 4
Scripted text == what????
5 Respostas
+ 4
Scripted text / string is equal to each other👍
const txtOne = ("Scripted text");
const txtTwo = ("Scripted text");
if (txtOne == txtTwo || txtOne.length == txtTwo.length) {
console.log("Equal!");
} else {
console.log("Not Equal!")
}
// Output = Equal!
Preview:
https://code.sololearn.com/WfwkcRiwpEfO/?ref=app
+ 3
Interesting question 💗🙌
+ 1
== means is equal then = means you are set a equal value to a variable or object
+ 1
so cute XD
0
cat??