summaryrefslogtreecommitdiffhomepage
path: root/javascript.html.markdown
diff options
context:
space:
mode:
authorFederico <96267363+dalps@users.noreply.github.com>2024-03-14 02:40:43 +0100
committerGitHub <noreply@github.com>2024-03-14 02:40:43 +0100
commit4fafc296669ffccab831bcd5d3407cf934f0d228 (patch)
tree26c4413f5bd2b2372dca3593c0653974528fae0b /javascript.html.markdown
parent8a7cdc171f9e56fc54227720acaa78db3948747a (diff)
Quote this keyword in explanation (#4862)
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r--javascript.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown
index 08f1d8fb..4e7c5c09 100644
--- a/javascript.html.markdown
+++ b/javascript.html.markdown
@@ -405,7 +405,7 @@ myObj = {
};
myObj.myFunc(); // = "Hello world!"
-// What this is set to has to do with how the function is called, not where
+// What `this` is set to has to do with how the function is called, not where
// it's defined. So, our function doesn't work if it isn't called in the
// context of the object.
var myFunc = myObj.myFunc;