VS Code editor strikes through .click() function text #jQuery

Viewed 1308

Why does VS Code editor show jQuery .click() function as strike-through formatted text?

enter image description here

1 Answers

"click()" is deprecated since jQuery version 3.3, you can use "on('click', cb)".

If you hover it, you will get this:

enter image description here

Related