From 5f4611fce2f338d5203d9161607171a3fd8ec665 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 19 Jul 2015 14:26:33 -0700 Subject: [PATCH] Minor nit to move `objCtorString` above `objToString`. --- lodash.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lodash.js b/lodash.js index 7caf4ba83..956b28d51 100644 --- a/lodash.js +++ b/lodash.js @@ -747,15 +747,15 @@ /** Used to generate unique IDs. */ var idCounter = 0; + /** Used to infer the `Object` constructor. */ + var objCtorString = fnToString.call(Object); + /** * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring) * of values. */ var objToString = objectProto.toString; - /** Used to infer the `Object` constructor. */ - var objCtorString = fnToString.call(Object); - /** Used to restore the original `_` reference in `_.noConflict`. */ var oldDash = root._; @@ -6515,13 +6515,14 @@ /*------------------------------------------------------------------------*/ /** - * Gets the number of milliseconds that have elapsed since the Unix epoch - * (1 January 1970 00:00:00 UTC). + * Gets the timestamp of the number of milliseconds that have elapsed since + * the Unix epoch (1 January 1970 00:00:00 UTC). * * @static * @memberOf _ * @type Function * @category Date + * @returns {number} Returns the timestamp. * @example * * _.defer(function(stamp) {