How works in Javascript? Find output of below Javascript code.var a = 1;document.write(a--);document.write(a); - Study24x7
Social learning Network

Warning: include(./views/auth.php): failed to open stream: Permission denied in /var/www/html/live/loginRightSlider.php on line 18

Warning: include(): Failed opening './views/auth.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/live/loginRightSlider.php on line 18
26 followers study24x7 25 May 2020 02:39 PM study24x7 study24x7

How ++ works in Javascript? Find output of below Javascript code.

var a = 1;
document.write(a--);
document.write(a);

A

00

B

11

C

01

D

10

study24x7
Write a comment
  • Nidhi Gupta
  • Sorry...the question is : HOW -- works.
    Related Questions
    500+   more Questions to answer
    Most Related Articles