mikestreety’s avatarmikestreety’s Twitter Archive—№ 21,330

  1. 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 ==