mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Remove constant function from examples (#3086)
This commit is contained in:
committed by
John-David Dalton
parent
64d92ddf32
commit
43a520c971
@@ -10,11 +10,11 @@
|
||||
* @example
|
||||
*
|
||||
* function Foo() {
|
||||
* this.a = constant('a')
|
||||
* this.b = constant('b')
|
||||
* this.a = () => 'a'
|
||||
* this.b = () => 'b'
|
||||
* }
|
||||
*
|
||||
* Foo.prototype.c = constant('c')
|
||||
* Foo.prototype.c = () => 'c'
|
||||
*
|
||||
* functions(new Foo)
|
||||
* // => ['a', 'b']
|
||||
|
||||
Reference in New Issue
Block a user