+ 3

Javascript Deprecated Keywords

I recently saw a code (can't find it now) that included the following keywords: int, float double long void I did some research and found out that they are deprecated. Although, curious me wanted to find out what they mean. Does anyone know what the words mean in Javascript, along with package, transient and goto. If they are deprecated, why does it still have syntax highlighting? (Notepad++ and Sololearn mobile). And last thing, do you think the editor will get updated at all, online Sololearn editor is amazing, when do you think the mobile users will get an upgrade? Keywords like let, and extends aren't highlighted strangely https://code.sololearn.com/W7XGOg3OH54N/?ref=app

3rd Jul 2019, 6:22 AM
Clueless Coder
Clueless Coder - avatar
1 Odpowiedź
+ 9
These words are data types os variable. A data type or simply type is an attribute of data which tells the compiler or interpreter how the programmer intends to use the data
3rd Jul 2019, 6:50 AM
Muaz Ahmad
Muaz Ahmad - avatar