MCQOPTIONS
Bookmark
Saved Bookmarks
→
Javascript
→
Blobs in Javascript
→
Which is the function used to add the vectors?..
1.
Which is the function used to add the vectors?
A.
c()
B.
add(vectors)
C.
c(vectors)
D.
vectors.add
Answer» B. add(vectors)
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Consider the following code snippetfunction tail(o){for (; o.next; o = o.next) ;return o;}Will the above code snippet work? If not, what will be the error?
Consider the following code snippetfunction printArray(a){var len = a.length, i = 0;if (len == 0)console.log("Empty Array");else{do{console.log(a[i]);} while (++i < len);}}What does the above code result?
Consider the following statementsvar count = 0;while (count < 10){.log(count);count++;}In the above code snippet, what happens?
“An expression that can legally appear on the left side of an assignment expression.” is a well known explanation for variables, properties of objects, and elements of arrays. They are called
Which is a more efficient code snippet ?Code 1 :for(var=10;num>=1;num--){document.writeln(num);}Code 2 :var num=10;while(num>=1){document.writeln(num);num++;}
Consider the following statementsvar text = "testing: 1, 2, 3"; // Sample textvar pattern = /d+/g // Matches all instances of one or more digitsIn order to check if the pattern matches with the string “text”, the statement is
Consider the following snippet codevar string1 = ”123”;var intvalue = 123;alert( string1 + intvalue )The result would be
Identify the process done in the below code snippeto = {x:1, y:{z:[false,null,"]}};s = JSON.(o);p = JSON.parse(s);
Consider the below given syntaxbook[datatype]=assignment_value;In the above syntax, the datatype within the square brackets must be
Consider the following code snippet :var book = {"main title": "JavaScript",'sub-title': "The Definitive Guide","for": "all audiences",author: {firstname: "David",surname: "Flanagan"}};In the above snippet, firstname and surname are
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply