Similarly, if you right-click the price and select Inspect, you will see the HTML markup of the price. You can see that the dollar component of the price is in a span tag with the class a-price-whole, ...
JavaScript doesn't care about how you are passing them in, whether as a value directly or as a variable. In this function, JavaScript will take whatever was passed in the first argument and make it ...