0
   

What concept of JavaScript is this

 
 
Reply Tue 27 Oct, 2015 01:22 pm
I tried this simple JavaScript code on my browser out of curiosity:
console.log (6 / (2, 3));
----> it logged 2 as the answer.
I understand the browser is ignoring the first argument, but just don't know why it does so.
Can somebody please explain this?...thanks
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 363 • Replies: 0
No top replies

 
 

Related Topics

 
  1. Forums
  2. » What concept of JavaScript is this
Copyright © 2020 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 07/08/2020 at 07:30:33