Skip to content

Commit 62b235f

Browse files
committed
Reduce entropy reduction, concat rather then multiply
1 parent 1d3d240 commit 62b235f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/container/lib/registry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ import { intern } from 'ember-metal/utils';
868868
import dict from 'ember-metal/dictionary';
869869

870870
const privateNames = dict(null);
871-
const privateSuffix = Math.floor(Math.random() * new Date()) + '';
871+
const privateSuffix = `${Math.random()}${Date.now()}`;
872872

873873
export function privatize([fullName]) {
874874
let name = privateNames[fullName];

0 commit comments

Comments
 (0)