lets=10;letjudg=Judgment({conditions: [()=>{if(s>1){returntrue;}returnfalse;},()=>{if(s>3){returntrue;}returnfalse;},()=>{if(s>8){returntrue;}returnfalse;},()=>{if(s>10){returntrue;}returnfalse;}],relations: {// '*' means ignore this condition// '111*' is equals '111''result1': ['1111','111*'],'result2': ['1000'],// '****' or '' means ignore all condition'result3': ['****']}// If conditions can match with several results, then return the first result, deault: false// matchOnce: false});console.info(judg.run());// [result1, result3]s=2;console.info(judg.run());// [result2, result3]