What is the difference between an expression and a statement in JavaScript?

pandaquests
JavaScript in Plain English
3 min readAug 1, 2020

--

In JavaScript we have expression and statement. Even though I read the definition about it multiple times, after a while, I still forget which one is which. So, this post is a reminder for everyone like me who confuses these two, so you will never forget it but always keep in mind the difference between expression and statement.

Photo by bruce mars on Unsplash

--

--

°(p.q)° Full stack software engineer (JS, TS, HTML, CSS, Java, Kotlin). Follow me on my journey