Join the discussion
Question 177/182
Refer to the code declarations below:

Which three expressions return the string JavaScript?
Choose 3 answers

Which three expressions return the string JavaScript?
Choose 3 answers
Correct Answer: A,B,D
Add Comments
- Other Question (182q)
- Q1. A developer is setting up a new Node.js server with a client library that is built using e...
- Q2. Refer to the code below: (Exhibit) What is the output after the ode executes successfully?...
- Q3. Given the following code: Let x =null; console.log(typeof x); What is the output of the li...
- Q4. Refer to the code below: 01 let car1 = new promise((_, reject) => 02 setTimeout(reject,...
- Q5. Refer to the following array: Let arr1 = [ 1, 2, 3, 4, 5 ]; (Exhibit) Which two lines of c...
- Q6. The developer has a function that prints "Hello" to an input name. To test this, thedevelo...
- Q7. Given the code below: Which three code segments result in a correct conversion from number...
- Q8. A developer initiates a server with the file server,js and adds dependencies in the source...
- Q9. Given the code below: const delay = async delay =>{ return new Promise((resolve,reject)...
- Q10. A developer has a formatName function that takes two arguments, firstName and lastName and...
- Q11. A developer creates a class that represents a blog post based on the requirement that a Po...
- Q12. Refer to the following code: (Exhibit) What is the value of output on line 11?...
- Q13. Universal Containers recently launched its new landing page to host a crowd-funding campai...
- Q14. Given the code below: (Exhibit) What is logged to the console'...
- Q15. A developer receives a comment from the Tech Lead that the code given below has error: con...
- Q16. A developer creates a generic function to log custom messages In the console. To do this, ...
- Q17. Given the code below: 01 function GameConsole (name) { 02 this.name = name; 03 } 04 05 Gam...
- Q18. Refer to the HTML below: (Exhibit) Which JavaScript statement results in changing ''Tony''...
- Q19. Given the code below: (Exhibit) Which method can be provide a visual representation of the...
- Q20. Universal containers (UC) just launched a new landing page, but users complain that the we...
- Q21. Which code statement below correctly persists an objects in local Storage ?...
- Q22. Refer to the following array: Let arr1 = [ 1, 2, 3, 4, 5 ]; (Exhibit) Which two lines of c...
- Q23. A developer tries to retrieve all cookies, then sets a certain key value pair in the cooki...
- Q24. Which javascript methods can be used to serialize an object into a string and deserialize ...
- Q25. Refer to the code below: (Exhibit) What is the value result after line 10 executes?...
- Q26. Refer to the following code that performs a basis mathematical operation on a provided inp...
- Q27. Which three options show valid methods for creating a fat arrow function? Choose 3 answers...
- Q28. Refer to the code below: (Exhibit) What is the value of result when the code executes?...
- Q29. A developer has code that calculates a restaurant bill, but generates incorrect answers wh...
- Q30. Refer to the code below: For (let number =2: number <= S; number += 1) ( // insert code...
- Q31. Which two code snippets show working examples of a recursive function? Choose 2 answers A)...
- Q32. Given the requirement to refactor the code above to JavaScript class format, which class d...
- Q33. Refer to the code below: (Exhibit) What is the value of result when Promise. race executes...
- Q34. Which function should a developer use to repeatedly execute code at a fixed time interval?...
- Q35. Refer to the code below: (Exhibit) Which value can a developer expect when referencing cou...
- Q36. Refer to the following code: (Exhibit) What is the output of line 11?...
- Q37. Refer to the code below: (Exhibit) Considering that JavaScript is single-threaded, what is...
- Q38. Refer to the code below: let o = { get js() { let city1 = String("st. Louis"); let city2 =...
- Q39. Refer to the code below: 01 const exec = (item, delay) =>{ 02 new Promise(resolve =>...
- Q40. A developer at Universal Containers is creating their new landing page basedon HTML, CSS, ...
- Q41. A developer is leading the creation of a new web server for their team that will fulfill A...
- Q42. developer wants to use a module named universalContainersLib and them call functions from ...
- Q43. (Exhibit) Which code change should be done for the console to log the following when 'Clic...
- Q44. A developer wrote the following code to test a sum3 function that takes in an array of num...
- Q45. Refer to the code below: (Exhibit) Which code executes syhello once, two minutes from now?...
- Q46. Refer to the code below: (Exhibit) Which replacement for the conditional statement on line...
- Q47. Refer to the code below: let car1 = new Promise((_ ,reject)=> setTimeout(reject,2000,"C...
- Q48. A developer creates a new web server that uses Node.js. It imports a server library that u...
- Q49. developer publishes a new version of a package with new features that do not break backwar...
- Q50. The developer wants to test this code: Const toNumber =(strOrNum) => strOrNum; Which tw...
- Q51. Refer to code below: console.log(0); setTimeout(() => ( console.log(1); }); console.log...
- Q52. developer wants to use a module nameduniversalContainersLib and them callfunctions from it...
- Q53. A developer has an is Dog function that takes one argument cat. They want to schedule the ...
- Q54. A developer creates a simple webpage with an input field. When a user enters text in the i...
- Q55. Which option is true about the strict mode in imported modules?...
- Q56. Which code statement below correctly persists an objects in local Storage ?...
- Q57. A developer creates a simple webpage with an input field. When a user enters text in the i...
- Q58. Refer to the following code: (Exhibit) Which two statements could be inserted at line 17 t...
- Q59. At Universal Containers, every team has its own way of copying JavaScript objects. The cod...
- Q60. is below: <input type="file" onchange="previewFile()"> <img src="" height="200" a...
- Q61. Refer to the following code block: class Animal{ constructor(name){ this.name = name; } ma...
- Q62. Refer to the code below: Async funct on functionUnderTest(isOK) { If (isOK) return 'OK' ; ...
- Q63. Refer to the code below: <html lang="en"> <tableonclick="console.log(Table log');...
- Q64. What is the result of the code block?
- Q65. Refer to the code below: (Exhibit) What is the value of foobDienu1 after the code executes...
- Q66. Refer to the code below: for(let number =2 ; number <= 5 ; number += 1 ) { // insert co...
- Q67. Given the code below: (Exhibit) What is logged to the console'...
- Q68. Which statement accurately describes the behavior of the async /swait keywords?...
- Q69. A developer has the following array of student test grades: Let arr = [ 7, 8, 5, 8, 9 ]; T...
- Q70. Given the code below: (Exhibit) Which method can be used to provide a visual representatio...
- Q71. Refer to the code below: (Exhibit) What is the output of this function when called with an...
- Q72. Given the code below: Function myFunction(){ A =5; Var b =1; } myFunction(); console.log(a...
- Q73. Referto the code below: new Promise((resolve, reject) => { const fraction = Math.random...
- Q74. A developer wants to use a module named universalContainerLib and then call functions from...
- Q75. A developer is debugging a web server that uses Node.js The server hits a runtimeerror eve...
- Q76. A developer creates a class that represents a blog post based on the requirements that a P...
- Q77. Refer to the code below: new Promise((resolve, reject) => { const fraction = Math.rando...
- Q78. Refer to the code below: (Exhibit) Which two statements correctly execute the runparallel ...
- Q79. After user acceptance testing, the developer is asked to change the webpage background bas...
- Q80. Refer to the code below: (Exhibit) Which statement allows a developer to cancel the schedu...
- Q81. Refer to the code below: (Exhibit) When does promise. Finally on line 08 get called?...
- Q82. Given the following code: (Exhibit) What is the output of line 02?...
- Q83. Given the following code: (Exhibit) What will be the first four numbers logged?...
- Q84. Cloud Kicks has a class to represent items for sale in an online store, as shown below: Cl...
- Q85. Refer to the following code that imports a module named Utills, Which two implementations ...
- Q86. Refer to the HTML below: (Exhibit) Which JavaScript statement results in changing " The Li...
- Q87. Given the HTML below: (Exhibit) Which statement adds the priority-account CSS class to the...
- Q88. Given the following code: (Exhibit) is the output of line 02?...
- Q89. developer creates a new web server that uses Node.js. It imports a server library that use...
- Q90. Refer to the following code: function test (val) { If (val === undefined) { return 'Undefi...
- Q91. Refer to code below: Const objBook = { Title: 'Javascript', }; Object.preventExtensions(ob...
- Q92. A developer is required to write a function that calculates the sum of elements in an arra...
- Q93. A developer has the following array of student test grades: Let arr - [7, 8, 5, 9] How sho...
- Q94. A developer has a formatName function that takes two arguments, firstName and lastName and...
- Q95. Refer to the code below. (Exhibit) After changing the string index values, the of atr is J...
- Q96. bar, awesome is a popular JavaScript module. the versions publish to npm are: (Exhibit) Te...
- Q97. Universal Containers recently its new landing page to host crowd-function campaign. The pa...
- Q98. Refer to code below: function Person() { this.firstName = 'John'; } Person.prototype ={ Jo...
- Q99. A team that works on a big project uses npm to deal with projects dependencies. A develope...
- Q100. A developer wants to create an object from a function in the browser using the code below....
- Q101. A developer wants to use a try...catch statement to catch any error that countSheep () may...
- Q102. A developer wrote the following code to test a sum3 function that takes in an array of num...
- Q103. A developer wants to set up a secure web server with Node.js. The developer creates a dire...
- Q104. Refer to the following array: Let arr1 = [ 1, 2, 3, 4, 5 ]; (Exhibit) Which two lines of c...
- Q105. Teams at Universal Containers (CU) work on multiple JavaScript projects at the same time. ...
- Q106. Refer to the following code: (Exhibit) What will the console when the button is clicked?...
- Q107. Refer to the HTML below: (Exhibit) Which JavaScript statement results in changing " The Li...
- Q108. Refer to the code below: Const myFunction = arr => { Return arr.reduce((result, current...
- Q109. A developer is creating a simple webpage with a button. When a user clicks this button for...
- Q110. A developer has the function, shown below, that is called when a page loads. (Exhibit) Whe...
- Q111. Refer to the code below: new Promise((resolve, reject) => { const fraction = Math.rando...
- Q112. Which code statement correctly retrieves and return an object from localStorage? A) (Exhib...
- Q113. Refer to the following code: Let sampletext = 'The quick brown fox Jumps'; A developer nee...
- Q114. Given the requirement to refactor the code above to JavaScript class format, which class d...
- Q115. A developer wrote a fizzbuzz function thatwhen passed in a number, returns the following: ...
- Q116. Refer to the code below: <html lang="en"> <table onclick="console.log(Table log')...
- Q117. Refer to thefollowing code that imports a module named utils: import (foo, bar) from '/pat...
- Q118. Given HTML below: <div> <div id ="row-uc"> Universal Container</div> <...
- Q119. Refer to the code below: 01 const exec = (item, delay) =>{ 02 new Promise(resolve =>...
- Q120. Refer to the following array: Let arr1 = [ 1,2, 3, 4, 5 ]; (Exhibit) Which two lines of co...
- Q121. Refer to the HTML below: (Exhibit) Which JavaScript statement results in changing " The Li...
- Q122. Refer to the code below: console.log(''start); Promise.resolve('Success') .then(function(v...
- Q123. Given the requirement to refactor the code above to JavaScript class format, which class d...
- Q124. Refer to the code below: (Exhibit) What is the value of result after the code executes?...
- Q125. Which two console logs output NaN? Choose 2 answers | |...
- Q126. A Developer wrote the following code to test a sum3 function that takes in an array of num...
- Q127. Refer to the expression below: Let x = ('1' + 2) == (6 + 2) ; How should this expression b...
- Q128. A class was written to represent items for purchase in an online store, and a second class...
- Q129. Which three browser specific APIs are available for developer to persist data between page...
- Q130. GIven a value, which three options can a developer use to detect if the value is NaN? Choo...
- Q131. Given the code below: const delay = sync delay => { Return new Promise((resolve, reject...
- Q132. Refer to the code below: (Exhibit) What is the result of running line 05?...
- Q133. A developer is asked to fix some bugs reported by users. To do that, the developer adds a ...
- Q134. A developer is creating a simple webpage with a button. When a user clicks this button for...
- Q135. A test has a dependency on database. query. During the test, the dependency is replaced wi...
- Q136. Refer to the following code: (Exhibit) What is the output of line 11?...
- Q137. Refer to code below: Let a ='a'; Let b; // b = a; console.log(b); What is displayed when t...
- Q138. Refer to the code below: let sayHello = () => { console.log ('Hello, world!'); }; Which...
- Q139. Refer to the code below: 01 const exec = (item, delay) =>{ 02newPromise(resolve => s...
- Q140. A developer publishes a new version of a package with new feature that do not break backwa...
- Q141. A developer at Universal Containers is creating their new landing page based on HTML, CSS,...
- Q142. Refer tothe code below: const event = new CustomEvent( //Missing Code ); obj.dispatchEvent...
- Q143. Refer to the code below: new Promise((resolve, reject) => { const fraction = Math.rando...
- Q144. developer uses the code below to format a date. (Exhibit) After executing, what is the val...
- Q145. Which two code snippets showworking examples of a recursivefunction? Choose 2 answers...
- Q146. Refer to the code below: (Exhibit) What is the value of result when the code executes?...
- Q147. Which code statement correctly retrieves and returns an object from localStorage?...
- Q148. Universal Containers (UC) just launched a new landing page, but users complain that the we...
- Q149. Universal Containers (UC) notices that its application that allows users to search for acc...
- Q150. Refer to the following object: const cat ={ firstName: 'Fancy', lastName: ' Whiskers', Get...
- Q151. A developer creates an object where its properties should be immutable and prevent propert...
- Q152. A developer creates a generic function to log custom messages in the console. To do this, ...
- Q153. is below: <input type="file" onchange="previewFile()"> <img src="" height="200" a...
- Q154. Refer to the code below: Const pi = 3.1415326, What is the data type of pi?...
- Q155. Refer to the following code: <html lang="en"> <body> <div onclick = "consol...
- Q156. Which code statement below correctly persists an objects in local Storage ?...
- Q157. There is a new requirement for a developer to implement a currPrice method that will retur...
- Q158. A developer is trying to handle an error within a function. Which code segment shows the c...
- Q159. A developer has the function, shown below, that is called when a page loads. (Exhibit) Whe...
- Q160. A developer has the function, shown below, that is called when a page loads. function onlo...
- Q161. Refer to the code below: const car = { price:100, getPrice:function(){ return this.price; ...
- Q162. Refer to the code declarations below: (Exhibit) Which three expressions return the string ...
- Q163. Refer to the code snippet: (Exhibit) What is the value of array after the code executes?...
- Q164. Given code below: setTimeout (() => ( console.log(1); ). 0); console.log(2); New Promis...
- Q165. Refer to code below: Const objBook = { Title: 'Javascript', }; Object.preventExtensions(ob...
- Q166. Given the following code: (Exhibit) is the output of line 02?...
- Q167. Which javascript methods can be used to serialize an object into a string and deserialize ...
- Q168. Which three browser specific APIs are available for developers to persist data between pag...
- Q169. Refer to the following array: Let arr = [1, 2, 3, 4, 5]; Which three options result in x e...
- Q170. Considering type coercion, What does the following expression evaluate to? True + '13 ' + ...
- Q171. Refer to the code: (Exhibit) Given the code above, which three properties are set pet1? Ch...
- Q172. Refer to the code below: let productSKU = '8675309,; A developer has a requirement to gene...
- Q173. Refer to the followingcode: (Exhibit)
- Q174. developer removes the HTML class attribute from the checkout button, so now it is simply: ...
- Q175. There is a new requirement for a developer to implement a currPrice method that will retur...
- Q176. The developer has a function that prints "Hello" to an input name. To test this, thedevelo...
- Q177. Refer to the code declarations below: (Exhibit) Which three expressions return the string ...
- Q178. Given the following code: Let x =('15' + 10)*2; What is the value of a?...
- Q179. A developer wants to create an object from a function in the browser using the code below:...
- Q180. Refer to the code below: Let car1 = new Promise((_ , reject) => setTimeout(reject, 2000...
- Q181. Refer to the code below: (Exhibit) A developer import a library that creates a web server....
- Q182. Refer to the following array: Let arr = [ 1,2, 3, 4, 5]; Which three options result in x e...
[×]
Download PDF File
Enter your email address to download Salesforce.JavaScript-Developer-I.v2025-12-19.q182.pdf
