Sha256: 11c4eac0a141eb7ee9291d7d1e0db20006ff4af957a84400b5a9f2c805cca936

Contents?: true

Size: 211 Bytes

Versions: 2

Compression:

Stored size: 211 Bytes

Contents

'use strict';

/**
 * Adds commas to a number
 * @param {number} number
 * @param {string} locale
 * @return {string}
 */
module.exports = function(number, locale) {
    return number.toLocaleString(locale);
};

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
naftwik-0.0.1 index.js
serendipity-0.0.1 index.js