Write a function that uses the call method to print the name of an object.
Write a function that uses the apply method to find the minimum value in an array of numbers.
Write a function that uses the bind method to create a new function that always has a specific "this" value.
Write a function that uses the call method to add two numbers together.
Write a function that uses the apply method to concatenate two arrays.
Write a function that uses the bind method to create a new function that multiplies a number by a specified value.
Write a function that uses the call method to find the length of a string.
Write a function that uses the apply method to find the sum of all numbers in an array.
Write a function that uses the bind method to create a new function that logs a message with a specific prefix.
Write a function that uses the call method to convert a string to uppercase.
Create a function sum that takes in two numbers and returns their sum. Use call to invoke sum with an array [2, 3] as the context and log the result to the console.
Create an object person with a property name set to your name. Create a function sayHello that logs "Hello, !". Use bind to create a new function sayHi that logs "Hi, !" and use it to greet yourself.
Write a function greet that takes in a string name and logs "Hello, !". Use apply to pass in an array ["Alice"] as the context and invoke the function.
Create a function multiply that takes in two numbers and returns their product. Use bind to create a new function double that always doubles its argument, and use it to multiply 5 by 2.
Create a function square that takes in a number and returns its square. Use map and square to create a new array squares that contains the squares of the numbers in an array [1, 2, 3, 4, 5].