DEV Community

Cover image for Expressions
Ashraful Islam
Ashraful Islam

Posted on

Expressions

There are many questions javascript can't answer. As if you want to know about weather , javascript wont be abele to answer it . But there are some questions that javascript can answer it, or you can say javascript would make you happy by answering your questions. This tipe of questions have a name , it calls expressions. Let's see some example:
if we ask the expressions 2+2 javascript will answer with value 4.
CONSOL.LOG(2+2); // 4
one thing you shuld know that, EXPRESSIONS is a questions that javascript can answer , and it always result in a single value.

Top comments (0)