mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Apply let/const transform.
This commit is contained in:
@@ -9,7 +9,7 @@ import isIndex from './_isIndex.js';
|
||||
* @returns {*} Returns the nth element of `array`.
|
||||
*/
|
||||
function baseNth(array, n) {
|
||||
var length = array.length;
|
||||
const length = array.length;
|
||||
if (!length) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user