What is a closure in JavaScript?, A function that has access to its own scope only, A function that remembers its outer scope variables even after the outer function returns, A global variable, A loop construct, How does hoisting work in JavaScript?, Variables and function declarations are moved to the top of their scope, It only applies to let and const, It moves code to the bottom, It is a syntax error, What is the purpose of async/await?, To make synchronous code asynchronous, To handle promises in a synchronous-like manner, To create classes, To define modules, What is a promise in JavaScript?, An object representing the eventual completion or failure of an asynchronous operation, A synchronous function, A variable type, A DOM element, What are higher-order functions?, Functions that take other functions as arguments or return them, Basic arithmetic functions, Loops, Conditionals, What is prototypal inheritance?, Function overriding, Variable copying, Objects inheriting from other objects via prototypes, Inheritance based on classes, What is a pure function in functional programming?, A function with side effects, A recursive function, A generator function, A function that always returns the same output for the same input without side effects, How do arrow functions differ from regular functions?, They do not have their own 'this' context, They always return undefined, They cannot be used as constructors, Both a and c, What is the event loop in JavaScript?, A mechanism for handling asynchronous callbacks, A DOM manipulator, A variable scope, A class method, What is debouncing?, Delaying function execution to limit calls, Immediate execution, Error handling, Data binding, What is throttling?, Limiting function calls to a fixed rate, Unlimited calls, Synchronous execution, Memory leak, What is a generator function?, A normal function, A function that can pause and resume execution, An async function, A class constructor, What is 'this' keyword in JavaScript?, A global object, A variable name, A loop iterator, Refers to the current execution context, What is currying?, Adding spices, Error throwing, Transforming a function that takes multiple arguments into nested functions, Array sorting, What is memoization?, Caching function results for performance, Deleting cache, Real-time execution, DOM update, What is the difference between let and var?, let is block-scoped, var is function-scoped, var is block-scoped, No difference, let is global, What is a module in JavaScript?, A database table, A CSS file, An HTML tag, A way to organize code into reusable pieces, What is Promise.all?, Rejects all, Settles when one resolves, Settles when all promises resolve, Synchronous call, What is a callback hell?, Nested callbacks making code hard to read, Flat code, Promise chain, Async await, What is OOP in JavaScript?, Functional only, Procedural, Scriptless, Object-Oriented Programming using classes and objects, What is encapsulation?, Bundling data and methods, Inheritance, Polymorphism, Abstraction, What is polymorphism?, Data hiding, Code reuse, Scope chaining, Objects of different classes treated as same, What is abstraction?, Hiding implementation details, Showing all details, Variable declaration, Function call, What is a constructor in JS?, Destructor, Function to create objects, Conditional, Loop, What is super keyword?, Global call, Calls child, Calls parent constructor, Local variable, What is functional composition?, Combining functions to build complex ones, Decomposing, Class creation, Promise rejection, What is immutability?, Mutable data, Variable reassignment, Loop mutation, Data cannot be changed after creation, What is recursion?, Iterative loop, Function calling itself, Async call, Sync block, What is tail call optimization?, Head call, No optimization, Optimizing recursive calls to avoid stack overflow, Memory increase, What is a symbol in JS?, Unique primitive for object keys, String type, Number type, Boolean, What is BigInt?, Small numbers, For large integers beyond Number limit, Strings, Arrays, What is optional chaining?, ?. for safe property access, Required chaining, Error throwing, Null assignment, What is nullish coalescing?, ?? for default values on null/undefined, || operator, && operator, ! operator, What is a proxy in JS?, Direct access, Object to customize operations on another object, Global object, No access, What is a reflector?, Used with proxies for meta programming, Mirror image, DOM reflector, Variable reflector, What is performance optimization in JS?, Ignoring performance, Maximizing them, Adding loops, Minimizing DOM manipulations, What is web worker?, For running JS in background threads, Main thread only, Sync worker, UI blocker, What is service worker?, Online only, Database worker, For offline capabilities and caching, Function worker, What is best practice for error handling?, Try-catch blocks, Ignore errors, Console.log, Alert, What is code splitting?, Loading code on demand for performance, Loading all at once, No loading, Error splitting.
0%
CHAPTER 7 WEB
Share
Share
Share
by
Sugylanurga3
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Quiz
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
More formats will appear as you play the activity.
)
Open results
Copy link
QR code
Delete
Continue editing:
?