How on earth is js an extension of javascript??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How on earth is js an extension of javascript???

It just doesn't make sense!

18th Feb 2020, 7:25 AM
Derios Santen
19 Answers
+ 8
Extension means by which we can think that this file is related to this language or application. Extension of javascript is .js Extension of Html is .html Extension of any Windows application is .exe Extension of Python is .py Extension of php is .php and so on....
18th Feb 2020, 7:43 AM
A͢J
A͢J - avatar
+ 10
Derios Santen I want to try to explain what tags are. I noticed you asked about it in your question tags. Tags in this Q&A forum is used for (among which): To clarify context of the question, by language or subject. For example when a question asks about 'list' in Python language, the recommended tags are 'Python list'. If the question is related to SoloLearn as platform and/or the features she provides, then 'SoloLearn' is good candidate as tag. Tags are used by SoloLearn search engine when finding threads under similar topics. This is done by matching words in search term against the threads' tags. A match means the thread is possibly included within the search result. Use of irrelevant words in tags will diminish search accuracy, and performance. Not to mention that a thread with irrelevant tags won't become easily searchable because tags simply don't match search terms. There are probably other uses of tags that I just don't know. But hopefully this gives you an idea what tags are 👌
18th Feb 2020, 8:35 AM
Ipang
+ 3
I don't understand what you mean.
18th Feb 2020, 7:36 AM
Derios Santen
+ 3
It's a file extension and not an extension of the word "javascript".
20th Feb 2020, 12:41 AM
Sonic
Sonic - avatar
+ 2
Then i guess i was wrong to think extending something meant making it longer, not shorter.
18th Feb 2020, 7:32 AM
Derios Santen
+ 2
Oma Falk Look here. His meaning is file extension https://www.computerhope.com/dosext.htm
18th Feb 2020, 7:47 AM
A͢J
A͢J - avatar
+ 2
I just understood that it's a file extension, not an extension file.
18th Feb 2020, 7:49 AM
Derios Santen
+ 2
An extension also defines what type of file it is e.g a plain text file's extension is .txt, video is .mp4, audio is .mp3, Image is .jpg or jpeg.
18th Feb 2020, 10:39 PM
Lucky
Lucky - avatar
+ 2
Try to understand this: filename.ext ext is the file name's extension which tells you and your operating system what type of file it is.
19th Feb 2020, 12:03 PM
Calin Onofrei
Calin Onofrei - avatar
+ 1
Hmm, I'm not sure i understand but i might.
18th Feb 2020, 7:40 AM
Derios Santen
+ 1
And an external script is called an extension??
18th Feb 2020, 7:43 AM
Derios Santen
+ 1
I did not know that. Thank you. Goodbye for now.
18th Feb 2020, 7:47 AM
Derios Santen
+ 1
Derios Santen Why goodbye 😂
18th Feb 2020, 7:48 AM
A͢J
A͢J - avatar
+ 1
No, there was an external and an extension. I did not mistake one for the other.
18th Feb 2020, 7:51 AM
Derios Santen
+ 1
Derios Santen Is there any extension file?
18th Feb 2020, 7:52 AM
A͢J
A͢J - avatar
+ 1
Derios Santen when you try to understand it grammatically, it will be complicated, just keep in mind that extension means (.something) just like 🅰🅹 - Pʀᴏᴅᴜᴄᴛ Mᴀɴᴀɢᴇʀ said before. Programming languages have their own grammar far away from English grammar.
18th Feb 2020, 9:01 PM
JS LOVER
JS LOVER - avatar
+ 1
Javascript can be separate in the HTML code via .js file extension to make your HTML looks better. 😎
19th Feb 2020, 10:31 AM
Christian De Guzman Remonde
Christian De Guzman Remonde - avatar
+ 1
Somebody already answered me yesterday. I just don't know how to delete questions.
19th Feb 2020, 3:03 PM
Derios Santen
0
Js = javascript because JavaScript from where J stands for Java and S for script. Makes total sense. An extension has to be short and this one is the best extension which can fit javascript
19th Feb 2020, 2:57 PM
wraithM17
wraithM17 - avatar