我有一个对象,如下所示:
{
Condition0: "5"
Condition1: "6"
LogicalOperator0: "&&"
Operator0: "<"
Operator1: "!="
Question0: "How do you rate our services?"
Question1: "How likely are you to recommend our services to others?"
}
我想安排它形成一个条件
Question0 Operator0 Condition0 LogicalOperator0 Question1 Operator1 Condition1
因此结果形成如下所示的比较运算符:
How do you rate our services? < 5 && How likely are you to recommend our services to others? != 6
任何人都请协助在 JS 中实现这一目标。