From 12e17dfb68548a9105fd9c64b9c871ada4cd663e Mon Sep 17 00:00:00 2001 From: om agarwal <88016895+omagr@users.noreply.github.com> Date: Wed, 5 Oct 2022 20:46:22 +0530 Subject: [PATCH] creat call-apply-bind-methods readme files (#2172) --- .../content/111-javascript-this-keyword/107-call-method.md | 6 ++++++ .../content/111-javascript-this-keyword/108-apply-method.md | 6 ++++++ .../content/111-javascript-this-keyword/109-bind-method.md | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 content/roadmaps/106-javascript/content/111-javascript-this-keyword/107-call-method.md create mode 100644 content/roadmaps/106-javascript/content/111-javascript-this-keyword/108-apply-method.md create mode 100644 content/roadmaps/106-javascript/content/111-javascript-this-keyword/109-bind-method.md diff --git a/content/roadmaps/106-javascript/content/111-javascript-this-keyword/107-call-method.md b/content/roadmaps/106-javascript/content/111-javascript-this-keyword/107-call-method.md new file mode 100644 index 000000000..46b697e55 --- /dev/null +++ b/content/roadmaps/106-javascript/content/111-javascript-this-keyword/107-call-method.md @@ -0,0 +1,6 @@ +# call() method + +The `call()` method calls the function with a reference to the aspire object to `this` keyword. `call()` method accepts an argument list and each arguments should be provided individually. + +Free Content +call() method \ No newline at end of file diff --git a/content/roadmaps/106-javascript/content/111-javascript-this-keyword/108-apply-method.md b/content/roadmaps/106-javascript/content/111-javascript-this-keyword/108-apply-method.md new file mode 100644 index 000000000..82a979ce5 --- /dev/null +++ b/content/roadmaps/106-javascript/content/111-javascript-this-keyword/108-apply-method.md @@ -0,0 +1,6 @@ +# apply() method + +`apply()` method is almost identical to `call()` method, except that `call()` method accepts an argument list, while `apply()` method accepts a single array of arguments. + +Free Content +apply() method \ No newline at end of file diff --git a/content/roadmaps/106-javascript/content/111-javascript-this-keyword/109-bind-method.md b/content/roadmaps/106-javascript/content/111-javascript-this-keyword/109-bind-method.md new file mode 100644 index 000000000..cd57642ac --- /dev/null +++ b/content/roadmaps/106-javascript/content/111-javascript-this-keyword/109-bind-method.md @@ -0,0 +1,6 @@ +# bind() method + +The `bind()` method return a new method that has its `this` keyword refers to the aspire object, with a given sequence of arguments which can be call later. + +Free Content +bind() method \ No newline at end of file