Complete the code to create a new DataLoader instance.
const userLoader = new DataLoader([1]);The batchLoadFn is the required function that DataLoader uses to batch and load keys.
Complete the code to load a user by ID using DataLoader.
userLoader.[1](userId);The load method loads a single key and returns a Promise for the value.
Fix the error in clearing the cache for a specific key.
userLoader.[1](userId);The clear method removes a specific key from the cache.
Fill both blanks to add a new value to the cache and then clear it.
userLoader.[1](userId, userData); userLoader.[2](userId);
prime adds a key-value pair to the cache. clear removes a specific key from the cache.
Fill all three blanks to batch load multiple keys and then clear the entire cache.
userLoader.[1](userIds); userLoader.[2](); userLoader.[3](userId);
loadMany loads multiple keys at once. clearAll clears the entire cache. clear clears a specific key.
