
JavaScript Operators: The Basics You Need to Know
If you are learning JavaScript, operator is neccessary for you because they help you to perform mathmatical or logical operations in the programs. In this guide we are learning about: expressions, operators, their types, and how to work with them with examples. Content List What operators are Arithmetic operators (+, -, *, /, %) Comparison operators (==, ===, !=, >, <) Logical operators (&&, ||, !) Assignment operators (=, +=, -=) What operators are Operators are just a symbols or keyword those instruct compiler or interpreter to perform specific mathmatical, logical, and relational manipulation on data (also called operands). In simple term you can say these are the things tell computer what to do with data. For Example: in the expression 2+3 , + is the operator and 2 , and 3 are the oprators. Note: Compilers and Interpreters are tools those converte programs (human readable) into machine-code (computer readable). Expressions are the combinations of constants, variables, operators tha
Continue reading on Dev.to JavaScript
Opens in a new tab


