What does the '#' sign mean in JavaScript?

后端 未结 8 1122
闹比i
闹比i 2021-02-07 20:48

I\'m new to Javascript and I\'m try to understand some code. I don\'t understand and I can\'t find any documentation about the # sign.

$(function ()         


        
8条回答
  •  深忆病人
    2021-02-07 21:24

    Now # would/could mean private instance fields: https://tc39.github.io/proposal-class-fields/

提交回复
热议问题