mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Apply even more let/const transforms.
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
||||
*/
|
||||
function stackDelete(key) {
|
||||
var data = this.__data__,
|
||||
result = data['delete'](key);
|
||||
const data = this.__data__;
|
||||
const result = data['delete'](key);
|
||||
|
||||
this.size = data.size;
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user