mikestreety’s Twitter Archive
—№ 21,330
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
Javascript nerds! I need help. How can I do the following without using eval()? let a = 5; let b = '> 3'; let result = eval(a + b); I just need to know if it is true or false. "b" is user input and thus can be < or > or ==
On twitter.com
❤️ 2
Favorites
2017 Nov 11
Mood +
3
🙂