0

I'm new to Javascript and I've gone far for now. But there's only one thing that is still bothering me in this language!

What's the difference between an expression and an argument? Are they likewise the same or are they completely different?

Gregory
  • 177
  • 6
  • 1
    They do not seem like the same thing to me. [Expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Expressions) and [Arguments](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments) What makes you think they are the same/similiar? – epascarello Jul 02 '20 at 13:10
  • 1
    Perhaps you have an example to provide some context for your confusion? You may simply be mis-using the terminology. – David Jul 02 '20 at 13:12
  • https://stackoverflow.com/questions/12703214/javascript-difference-between-a-statement-and-an-expression I think it is answered here – Emilis Jul 02 '20 at 13:15
  • Is an Expression a statement? – Gregory Jul 02 '20 at 13:16
  • @Gregory There is a type of statement in javascript which consists only of an expression, yes – Jonas Høgh Jul 02 '20 at 13:19

0 Answers0