Many people on the internet asks you to learn this language or that language for a job but as i will tell you now that most languages that run most of the software are created for specific purpose in mind.
Every language is good in some areas and bad in other .You must be interested in developing web pages but the most famous language on web (ps. java) will be no good for you as modern web browsers do not support java applications .So let me tell You the best programming language types.
No. :10 Interpreted languages
An interpreted language is a type of programming language for which most of its implementations execute instructions directly and freely, without previously compiling a program into machine-language instructions. The interpreter executes the program directly, translating each statement into a sequence of one or more subroutines, and then into another language (often machine code).
No. :9 Object-oriented class-based languages
Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. A feature of objects is that an object’s procedures can access and often modify the data fields of the object with which they are associated (objects have a notion of “this” or “self”). In OOP, computer programs are designed by making them out of objects that interact with one another. There is significant diversity of OOP languages, but the most popular ones are class-based, meaning that objects are instances of classes, which typically also determine their type.
No. :8 Machine languages
Machine languages are directly executable by a computer’s CPU.
These language system supports all the language as they are built on it.
No. :7 Functional languages
Functional programming languages define programs and subroutines as mathematical functions and treat them as first-class.
Implementation of lambada calculus made these languages possible.
No. :6 declarative programming language
These language are defined for a specific purpose they do not describe data flow.But focuses on the logic.
Example Wolfram alpha
No. : 5 Data-oriented languages
These languages are designed for data manipulation.
Example SQL(Standard Query Languages)
No. :4 Concurrent languages
Many processes can run independently making uses of modern day technologies.
No. :3 Assembly languages
Assembly languages directly correspond to a machine language (see above) so machine code instructions appear in a form understandable by humans. Assembly languages let programmers use symbolic addresses, which the assembler converts to absolute addresses. Most assemblers also support macros and symbolic constants
No. :2 Embeddable languages
Now coming back to java script topic it belongs to this language family.Source embeddable languages embed small pieces of executable code inside a piece of free-form text, often a web page
No. :1 Compiled language family
Now the most known language family . These are languages which require a compiler to compile the language generally into assembly language.