Question1Can you access Cookie using javascript? Yes No
Question2Which of the following is the correct syntax to redirect a url using JavaScript? document.location='http://www.newlocation.com; browser.location='http://www.newlocation.com; browser.location='http://www.newlocation.com; navigator.location='http://www.newlocation.com;
Question3Which built-in method removes the last element from an array and returns that element? last(); get(); pop(); None of the above.
Question4Which built-in method returns the characters in a string beginning at the specified location? substr(); getSubstring(); slice(); None of the above.
Question5Which of the following function of Boolean object returns the primitive value of the Boolean object? toSource(); valueOf(); toString(); None of the above.
Question6Which of the following function of String object executes the search for a match between a regular expression and a specified string? concat(); match(); replace();label> search(). Question7Which of the following function of String object creates a string to be displayed in a big font as if it were in a big tag? anchor(); big(); blink(); italics(). Question8Which of the following function of String object causes a string to be displayed as struck-out text, as if it were in a strike tag? sup(); small(); big(); anchor();(). Question9 Which of the following function of Array object creates a new array with the results of calling a provided function on every element in this array? push(); join(); pop(); map(). Question10Which of the following function of Array object sorts the elements of an array? toSource(); sort(); toString(); unshift().;
Question7Which of the following function of String object creates a string to be displayed in a big font as if it were in a big tag? anchor(); big(); blink(); italics().
Question8Which of the following function of String object causes a string to be displayed as struck-out text, as if it were in a strike tag? sup(); small(); big(); anchor();().
Question9 Which of the following function of Array object creates a new array with the results of calling a provided function on every element in this array? push(); join(); pop(); map(). Question10Which of the following function of Array object sorts the elements of an array? toSource(); sort(); toString(); unshift().;
Question10Which of the following function of Array object sorts the elements of an array? toSource(); sort(); toString(); unshift().;