MCPcopy
hub / github.com/mongodb/node-mongodb-native / addCommas

Function addCommas

docs/js/scripts.js:109–111  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

107 $counter = $mainButton.find('.gh-count');
108
109 function addCommas(a) {
110 return String(a).replace(/(\d)(?=(\d{3})+$)/g, '$1,');
111 }
112
113 function callback(a) {
114 if (type == 'watch') {

Callers 1

callbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected