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

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
25 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