Which mechanism allows a web application to request resources from a different origin than its own? Web DevelopmentMedium Try Now
What is the result of the following code snippet? const arr = [1, 2, 3]; const newArr = […arr, 4]; console.log(newArr.length); Web DevelopmentMedium Try Now
Which CSS property is used to control the alignment of flex items along the cross-axis? Web DevelopmentMedium Try Now
What is the primary function of the ‘defer’ attribute when added to a script tag? Web DevelopmentMedium Try Now
Which HTTP status code indicates that a requested resource has been permanently moved to a new URI? Web DevelopmentMedium Try Now
What is the result of this code? const obj = { a: 1 }; Object.freeze(obj); obj.a = 2; console.log(obj.a); Web DevelopmentHard Try Now
Which behavior occurs when a browser encounters a ‘fetch’ request with ‘credentials: same-origin’ to a different domain? Web DevelopmentHard Try Now
What is the primary effect of the ‘contain’ CSS property with a value of ‘strict’ on an element? Web DevelopmentHard Try Now
Which mechanism prevents the browser from executing a script if its integrity hash does not match the fetched content? Web DevelopmentHard Try Now
What is the primary purpose of the ‘localStorage’ API in modern web browsers? Web DevelopmentMedium Try Now
Which HTTP header is used to prevent browsers from interpreting files as a different MIME type than specified? Web DevelopmentMedium Try Now
What is the result of the following JavaScript code snippet? console.log(0.1 + 0.2 === 0.3); Web DevelopmentMedium Try Now
Which CSS property is used to create a new Block Formatting Context (BFC) to prevent margin collapsing? Web DevelopmentMedium Try Now
What is the primary effect of the ‘defer’ attribute on a script tag in an HTML document? Web DevelopmentMedium Try Now
What is the primary consequence of setting ‘passive: true’ on a touch event listener? Web DevelopmentHard Try Now
Which behavior occurs when a browser encounters a ‘preload’ link tag with an incorrect ‘as’ attribute? Web DevelopmentHard Try Now
What is the result of executing the following code snippet in a modern browser environment? const p = Promise.resolve(); p.then(() => console.log(1)); queueMicrotask(() => console.log(2)); setTimeout(() => console.log(3), 0); Web DevelopmentHard Try Now
What is the specific effect of the ‘contain: strict’ CSS property on a layout container? Web DevelopmentHard Try Now