Qus जावास्क्रिप्ट में function कीवर्ड का उद्देश्य क्या है?
A. Declares a variable
B. Defines a loop
C. Creates a function
D. Represents a conditional statement
Solution
C. Creates a functionExplanation
in JavaScript function keyword is sued to create a user define function
Syntax:
function function_name(parameter list) {
body of function
}