why you used Java Script? Can it use for both client side
and server side validation purpose?
Answer Posted / dev
Javascript (ECMA script) when executed in the browser context makes it client side, if you are using it for creating API's etc with nodeJS you get to use it on the server side
please refer to https://nodejs.org/ on how you would use it on the server side.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Create an array in javascript with a list of 4 colors, assign that array to the variable, ‘colors’.
What is bom?
What is foreach loop in javascript?
What are the scopes of a variable in javascript?
What is event in javascript?
How can you declare a class in javascript?
What is the difference between Local Storage and Session Storage?
What is console.time() and console.timeend()? What is its syntax, and why is it used?
Explain hoisting in javascript?
What are the types used in javascript?
What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }
What is difference between api and library?
What does polyfill mean?
How do you write a comment in javascript?
What does the "Access is Denied" IE error mean?