I would like to as if it's possible to write an if statement using string and convert it somehow into real statement? I mean I wish I could use "c==c" like if(c==c). is it possible?
var c=1;
var aa= "c==c";
if(aa) {
console.log("abc")
}
Aucun commentaire:
Enregistrer un commentaire