mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Update doc examples to ES2015.
This commit is contained in:
2
once.js
2
once.js
@@ -11,7 +11,7 @@ import before from './before.js';
|
||||
* @returns {Function} Returns the new restricted function.
|
||||
* @example
|
||||
*
|
||||
* var initialize = once(createApplication);
|
||||
* const initialize = once(createApplication);
|
||||
* initialize();
|
||||
* initialize();
|
||||
* // => `createApplication` is invoked once
|
||||
|
||||
Reference in New Issue
Block a user