Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8024293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:49:36+00:00 2026-06-04T22:49:36+00:00

I wrote very small code for java script.IN this value of message box are

  • 0

I wrote very small code for java script.IN this value of message box are changed but it shows old value(14+32) instead of updated value(14+32+10).

 <script type="text/javascript">
var no=(14+32);
alert(no);
no =(14+32+10);
 </script>

Can any one say actual reason behind this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:49:38+00:00Added an answer on June 4, 2026 at 10:49 pm

    the order ef execution of these statements is sequential and synchronous, so the alert print the current value of no at the time of its execution

    or in other words: when you change again the value of no the alert statement has been already executed

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm very new to C#. My boss asked me to wrote some code using
I have a VS 2008 C++ project, with one very small and simple code
I'm working on a small game written in Java (but the question is language-agnostic).
I wrote a very small application, which access the Remote Power Shell of Exchanger
I wrote a small script to help re-organize my .mp3 collection. When I run
I created a very small code to add two integers and save the result
I have this code: <div class=small_map_wrapper> <script type=text/javascript>loadMap('44.7958873,20.471077899999954');</script> I will fetch this content with:
I am trying to learn Android app development and wrote a very simple app
I am experiencing some very odd timing behavior from a function I wrote. If
I'm VERY new to Linq. I have an application I wrote that is in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.