Question: What is the use of map function below?

  1. gives a map of all the entries in database
  2. returns a heading tag for every entry in the database containing it's data
  3. returns one heading tag for all the entries in database
  4. checks which entry in the database is suitable for heading tag

Answer: The correct answer of the above question is Option B:returns a heading tag for every entry in the database containing it's data