+ 1

Question on JS using VSC

What does it mean when an argument is strike on VSC.? Or should I rephrase this question; it said ”The declaration was marked as deprecated” So my question is what does “deprecated” on VSC mean?

9th Jan 2022, 10:39 PM
Ogu Charles Chukwudi
Ogu Charles Chukwudi - avatar
1 Odpowiedź
+ 1
Everywhere you see something is deprecated it means that software developer is alerting you that things will be removed in one of the next version. For example if in JavaScript library, let assume the name of the library is jLib so in version 1.47 of jLib deprecated the functionality to save data using localStorage it means that localStorage will be no more important to jLib. And will be removed in one of the next coming versions wether v1.xx or whatever it is, it means that localStorage will be removed anytime. But it will take long time for some developers to remove deprecated functionality
11th Jan 2022, 6:07 AM
Rufai Limantawa