From 96ebd44509b399b2f5322e40cc1c531f72c75b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Lipi=C5=84ski?= Date: Tue, 4 Apr 2017 20:35:33 +0200 Subject: [PATCH] Fixin missing references in `repeat`. --- repeat.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/repeat.js b/repeat.js index 99dc942f7..b778750b0 100644 --- a/repeat.js +++ b/repeat.js @@ -1,3 +1,9 @@ +/* Used as references for the maximum safe integer in JavaScript Math.pow(2, 53) - 1 */ +const MAX_SAFE_INTEGER = 9007199254740991 + +/* Built-in method references for those with the same name as other `lodash` methods. */ +const nativeFloor = Math.floor + /** * Repeats the given string `n` times. *