How to compare strings

前端 未结 3 1321
悲哀的现实
悲哀的现实 2020-12-10 00:55

I wanted to compare a string without actually defining one of them as a string, something like this,

if (string == \"add\")

Do I have to de

3条回答
提交回复
热议问题