Skip to content

Commit c04e0b5

Browse files
Update README.md
1 parent bae70da commit c04e0b5

File tree

1 file changed

+1
-1
lines changed
  • 2693-call-function-with-custom-context

1 file changed

+1
-1
lines changed

Diff for: 2693-call-function-with-custom-context/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h2><a href="https://leetcode.com/problems/call-function-with-custom-context/">2693. Call Function with Custom Context</a></h2><h3>Medium</h3><hr><div><p>Enhance all functions to have the&nbsp;<code>callPolyfill</code>&nbsp;method. The method accepts an object&nbsp;<code>obj</code>&nbsp;as it's first parameter and any number of additional arguments. The&nbsp;<code>obj</code>&nbsp;becomes the&nbsp;<code>this</code>&nbsp;context for the function. The additional arguments are passed to the function (that the <code>callPolyfill</code>&nbsp;method belongs on).</p>
1+
<h2><a href="https://leetcode.com/problems/call-function-with-custom-context/">2693. Call Function with Custom Context</a></h2><img src="https://img.shields.io/badge/Medium-FECC00" alt="Medium" /><hr><div><p>Enhance all functions to have the&nbsp;<code>callPolyfill</code>&nbsp;method. The method accepts an object&nbsp;<code>obj</code>&nbsp;as it's first parameter and any number of additional arguments. The&nbsp;<code>obj</code>&nbsp;becomes the&nbsp;<code>this</code>&nbsp;context for the function. The additional arguments are passed to the function (that the <code>callPolyfill</code>&nbsp;method belongs on).</p>
22

33
<p>For example if you had the function:</p>
44

0 commit comments

Comments
 (0)