what is function in java script ?
Function are fundamental building block code in all programming.It is a enable better code organization, modularity and efficiency.Function are reusable block of code designed to perform a particular task.
Function to compute the product of two numbers:
function myFunction(p1, p2) {
return p1 * p2;
}
How to designing of function ?
Designing function in javascript involves defining reusable block of code that can be executed on demand.
what is parse int() ?
ParseInt() is function or method used in various programming language, such as Java and Java Script, to convert the string representation of a number into an integer.
Top comments (0)