+ 4

Scripted text == what????

19th Sep 2018, 7:05 PM
daddy
5 Answers
+ 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
19th Sep 2018, 8:45 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
+ 3
Interesting question 💗🙌
19th Sep 2018, 7:39 PM
NimWing Yuan
NimWing Yuan - avatar
+ 1
== means is equal then = means you are set a equal value to a variable or object
1st Oct 2018, 4:15 AM
RG DB
RG DB - avatar
+ 1
so cute XD
6th Oct 2018, 11:49 AM
Muhamad Qorry Darmawan
Muhamad Qorry Darmawan - avatar
0
cat??
25th Sep 2018, 10:51 PM
Elvis Hyacinth
Elvis Hyacinth - avatar