Report question

Question: How can I assign the output of a function to a variable using bash?