A.) indexOf() B.) findIndex() C.) search() D.) find()
A.) Adds new elements to an array B.) Removes elements from an array C.) Creates a new array with the results of calling a function on each element of the original array D.) Sorts an array in place
A.) {name: "John", age: 30} B.) new Object("name", "John", "age", 30) C.) Object.create({name: "John", age: 30}) D.) Object({name: "John", age: 30})
A.) To handle asynchronous operations and callbacks B.) To create a new object C.) To perform arithmetic operations D.) To manipulate strings
A.) classMyClass {} B.) functionMyClass() {} C.) varMyClass = class() {} D.) class = MyClass() {}
A.) To fetch data from a database B.) To fetch data from an external API C.) To fetch data from a local file D.) To fetch data from a web server
A.) pop() B.) shift() C.) splice() D.) slice()
A.) Adds all the elements of an array together B.) Removes all the elements of an array C.) Creates a new array with the results of calling a function on each element of the original array D.) Sorts an array in place
A.) isUndefined(variable) B.) variable == null C.) variable === null D.) Both B and C
A.) To concatenate two strings B.) To set the value of a variable C.) To bind a function to a specific context or object D.) To create a new object