answersLogoWhite

0

The semi-colon ( ; ) is used to indicate the end of a statement in JavaScirpt.

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

Which symbol is used as a statement terminator in C?

semicolon ';' (Not applicable for block-statements)


How do you find JavaScript on your computer?

You don't. JavaScript is a special type of language which you will typically find embedded in the program which use them. For example, each web browser on your computer will have its own version of JavaScript.


Java run in any computer but java script not why?

Java and Javascript are not the same thing and are not realted to each other. Javascript is not run on "computers" it is run on browsers (which admitedly run on computers) So, if your computer has a browser, it most likely runs javascript, of course this depends on the browser, but all major browser run javascript.


What does the switch statement in JavaScript do?

The JavaScript switch statement is nothing more than a easy replacement for a series of if-then-else statements. Here's an example. var chicken; switch( chicken ) { case "fried": console.log('Fried chicken!'); break; case "fricassee": console.log('Fricassee!!!!!!!!'); break; case "egg": console.log('Which came first?'); break; default: console.log( 'With its head cut off.' ); }//end switch This statement takes a variable, then compares it to the values of each "case." When it finds a matchin value, it executes the code in that case statement. It will execute until it hits the "break" statement, so if you skip a break, then the code will continue straight through. This is the same structure as: if ( chicken "egg" ){ console.log('Which came first?') }else{ console.log( 'With its head cut off.' ); } As you can see, the switch statement is simpler, easier to read, and easier to maintain.


How do you read a civil drawing?

Before reading any civil drawing we must understand the purpose of each line, word, symbol, appreviation and specification referred to, as to indicate the construction team required to do the attempted works.

Related Questions

What is a symbol for to compare?

A common symbol used for comparison is the equal sign (=). This symbol is used to indicate that two values are equal to each other.


Which symbol is used as a statement terminator in C?

semicolon ';' (Not applicable for block-statements)


How does document.close work?

The command is javascript JavaScript is interpreted by the browser browsers use JavaScript engines to execute the commands each browser differs


Do you need java compiler to execute HTML programs written in javascript?

No, Java and JavaScript are nothing to do with each other, JavaScript is a form of EMCAScript, not Java. Every modern browser comes with a JavaScript engine that is used to understand JavaScript. so there is no need for it, no.


What do the picture symbols on a Barclay's bank statement mean?

The picture symbols on a Barclay's bank statement typically represent different types of transactions or account activities. For example, a shopping bag symbol might indicate retail purchases, while a house symbol could denote mortgage payments. These visual cues help customers quickly identify the nature of their transactions, making it easier to track spending and manage finances. Each symbol is usually accompanied by a description for further clarity.


Compare the mass of an atom of each of these elements. Type the symbol that makes this statement true. (< or >) Press Enter. lithum carbon?

Carbon has a greater mass than lithium. Therefore, the symbol that makes the statement true is &quot;&gt;&quot;.


How does the design of each WHMIS symbol help you to understand the symbol's meaning?

The design of each WHMIS symbol includes a distinctive shape and color to quickly indicate the type of hazard associated with the chemical. For example, a flame symbol represents a flammable hazard and is typically red to indicate danger. Additionally, the symbols often incorporate visual elements like skulls or biohazard signs to further communicate specific risks.


How do you find JavaScript on your computer?

You don't. JavaScript is a special type of language which you will typically find embedded in the program which use them. For example, each web browser on your computer will have its own version of JavaScript.


Java run in any computer but java script not why?

Java and Javascript are not the same thing and are not realted to each other. Javascript is not run on "computers" it is run on browsers (which admitedly run on computers) So, if your computer has a browser, it most likely runs javascript, of course this depends on the browser, but all major browser run javascript.


Does JavaScript interact with PHP?

Yes, JavaScript and PHP can interact with each other in web development. JavaScript is a client-side scripting language that runs in a user's browser, while PHP is a server-side language that runs on the server. The two languages can communicate with each other through the use of AJAX (Asynchronous JavaScript and XML) requests. JavaScript can make an AJAX request to a PHP script on the server, and the PHP script can process the request and return data back to the JavaScript code. This allows for dynamic, interactive web pages that can update their content without requiring a full page refresh. Overall, JavaScript and PHP are complementary technologies that can work together to create powerful web applications


What is a logical argument in which each statement is backed up by a statement that is accepted as true?

A logical argument in which each statement is backed up by a statement that is accepted as true is a proof.


What is the meaning behind a javascript split?

The javascript split method, split(), will alter a string to make it into an array of substrings. This is useful if you would like to store each substring from the original string seperately.