File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/utils/curry Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,11 +51,13 @@ var sum = fcn( 2 )( 3 );
5151
5252To specify the curried function execution context, provide a ` thisArg ` argument.
5353
54+ <!-- eslint-disable no-restricted-syntax -->
55+
5456``` javascript
5557var obj = {
5658 ' name' : ' Ada' ,
5759 ' greet ' : function greet ( word1 , word2 ) {
58- return word1 + ' ' + word2 + ' , ' + this .name + ' !'
60+ return word1 + ' ' + word2 + ' , ' + this .name + ' !' ;
5961 }
6062};
6163
@@ -67,11 +69,13 @@ var str = fcn( 'Hello' )( 'there' );
6769
6870The function supports providing both an ` arity ` and execution context.
6971
72+ <!-- eslint-disable no-restricted-syntax -->
73+
7074``` javascript
7175var obj = {
7276 ' name' : ' Ada' ,
7377 ' greet ' : function greet () {
74- return arguments [ 0 ] + ' ' + arguments [ 1 ] + ' , ' + this .name + ' !'
78+ return arguments [ 0 ] + ' ' + arguments [ 1 ] + ' , ' + this .name + ' !' ;
7579 }
7680};
7781
You can’t perform that action at this time.
0 commit comments