The video covers creating a JavaScript function to add two numbers and return their sum, rather than just logging it. It explains how to store the returned value in a variable for later use, such as passing it to another function like one for multiplication.