Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8" />
- <script type="text/javascript">
- var x=12;
- var y;
- /*1*/document.write (++x);//dekrementacja
- /*2*/document.write (" ");
- /*3*/document.write (x++);//inkrementacja
- /*4*/document.write (" ");
- /*5*/document.write (x);
- /*7*/y= x++;
- /*8*/document.write (" ");
- /*9*/document.write (y);
- /*10*/y= ++x;
- /*11*/document.write (" ");
- /*12*/document.write (y);
- </script>
- </head>
- <body>
- </div>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement