r.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">String</a></span></span></span><span class="qm-api-header-tags"></span></div></div></div></div><div class="qm-api-collapsible-content"><div class="qm-api-item-content"><div class="qm-api-description"><div class="qm-html-paragraph">Formats the given value according to whether it is the total or the completed. By default it adds an &quot;of&quot; in front of the total value. </div></div><div class="qm-api-group qm-api-arg-group"><div class="qm