Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function numberLocale(l) {
var f = util.isString(l) ? d3_numberF[localeRef(l)] : d3_numberF.locale(l);
if (f == null) throw Error('Unrecognized locale: ' + l);
numberF = f;
}