From df40aa6d9f939c64c5e23afbada681b6b94c488a Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Sat, 4 Apr 2020 06:20:38 +0530 Subject: [PATCH] update post: What is `this` inside foo.bar()? --- ck8dzlitm01atxjs1322jz9a2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ck8dzlitm01atxjs1322jz9a2.md b/ck8dzlitm01atxjs1322jz9a2.md index efb7d0c..bab0c0a 100644 --- a/ck8dzlitm01atxjs1322jz9a2.md +++ b/ck8dzlitm01atxjs1322jz9a2.md @@ -74,7 +74,7 @@ TLDR - If you would like to see me actually go through the spec, this video migh ### PropertyReference This `foo.bar` structure is defined in the spec as a [PropertyReference](https://tc39.es/ecma262/#sec-ispropertyreference). -If you were assigning a value to the property of a object or primitive, anything that is valid as the Left Hand side of the assignment expression is a PropertyReference. +If you were assigning a value to the property of a object or primitive, then anything that is valid as the Left Hand side of the assignment expression is a PropertyReference. So, PropertyReference = Reference + base is object or primitive