Escpae characters in javascript

前端 未结 0 906
借酒劲吻你
借酒劲吻你 2021-01-14 13:52

I need to access a value as faces["[ab]"]. faces is a function. My attempt is below.

var alt = [ab];
var r = faces["`+alt+`"]         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题