是否可以在jQuery模板语法中声明新变量?我希望达到相当于这个(这不起作用):
{{var test = "test"}} <div> ${test} </div>
javascript jquery templates
javascript ×1
jquery ×1
templates ×1