I want to execute a list of comparators in string format; For example: "false || true || false || true && false && true" Expect: true
I can use eval("false || true || false || true && false && true"), but due to security, I don't want to use it. Do we have another way to execute it?