JS comments create bugs that even the comments execute

  • 2020-03-29 23:50:32
  • OfStack

I encountered a strange BUG while writing JS today. Keep reminding me that there is no attribute in the JAVA class. I took that property out. But JS to take that property I also blocked ah!
 
// var pro = "${product.proGrade}"; 

This is the proGrade. That's strange. I found out later. In JS even comments are executed. I just don't show it to you.

Related articles: