Lavrentiy Rubtsov
1402f7006d
remove one extra break line
2022-05-06 20:15:27 +06:00
Ilya Kantor
ad70374397
Merge pull request #2798 from HiddenOgre28/patch-1
...
Fix sentence in article.md
2021-12-21 10:06:39 +03:00
Osvaldo Dias dos Santos
53488ee2d5
Replace 'mdn' link
2021-12-21 00:20:33 +01:00
HiddenOgre28
6fe40fc9cd
Changed a word in article.md
...
Change the phrase "a property" to "the property" in line 57 (`Here the line (*) sets animal to be a prototype of rabbit.`) because it made it sound like an object can inherit more than one prototype at a time.
2021-12-15 10:15:56 -03:00
Ilya Kantor
c5358c5949
themable pictures
2021-12-12 22:53:17 +03:00
Jack Staples
8292f9c70a
Update article.md
2021-04-24 12:24:54 -07:00
LeviDing
80eb70fd90
Update article.md
2020-11-15 22:27:03 +08:00
LeviDing
358c38988d
Update article.md
2020-11-15 22:23:11 +08:00
LeviDing
5b63e81e4e
Update article.md
2020-11-15 22:12:00 +08:00
Ilya Kantor
dccca58f26
Update article.md
2020-11-01 09:54:02 +03:00
Ilya Kantor
010bde1a97
Update article.md
2020-11-01 09:50:38 +03:00
Ilya Kantor
0e0f4e35a2
Update article.md
2020-11-01 09:24:12 +03:00
LeviDing
4131b29d7d
FIX: delete extra space
2020-10-19 09:26:53 +08:00
Mustafa Kemal Tuna
7d0d65478d
clarifying example code
...
An interesting question may arise in the example above: what’s the value of this inside set fullName(value)? Where are the properties this.name and this.surname written: into user or admin?
The answer is simple: this is not affected by prototypes at all.
No matter where the method is found: in an object or its prototype. In a method call, this is always the object before the dot.
So, the setter call admin.fullName= uses admin as this, not user.
That is actually a super-important thing, because we may have a big object with many methods, and have objects that inherit from it. And when the inheriting objects run the inherited methods, they will modify only their own states, not the state of the big object.
The example code doesn't show these concepts. Also, these additions can make readers ask questions before the explanation of the example code.
2020-07-25 05:38:45 +03:00
Peter Roche
d65141d44b
That's a getter/setter for it -> It's a getter/setter for it
2020-04-22 17:34:59 -06:00
Ilya Kantor
f9feec2d69
minor fixes
2020-02-04 16:43:35 +00:00
Alexey Pyltsyn
29ea8907d1
Merge branch 'master' into patch-18
2019-10-22 11:07:52 +03:00
Peter Roche
c07eb5c29a
Update article.md
...
3 commas and a period.
2019-10-22 01:44:17 -06:00
hrodward
d0b95aa8df
Update 1-js/08-prototypes/01-prototype-inheritance/article.md
...
Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
2019-10-22 05:20:59 +02:00
Ilya Kantor
50aa158c02
Merge pull request #1495 from hrodward/patch-21
...
Update task.md
2019-10-21 16:17:24 +03:00
Ilya Kantor
e661044558
Merge pull request #1494 from hrodward/patch-20
...
Update task.md
2019-10-21 16:17:06 +03:00
hrodward
c0fd76be3d
Update task.md
...
Grammar
2019-10-21 11:52:48 +02:00
hrodward
7500898467
Update task.md
...
Grammar
2019-10-21 11:48:46 +02:00
hrodward
906dd131f1
Update task.md
...
Grammar
2019-10-21 11:43:39 +02:00
hrodward
3c8ae3090d
Update article.md
...
Grammar
2019-10-21 11:41:14 +02:00
paroche
86912bce10
Update article.md
...
Long awaited second stab at revising this paragraph (which someone in the distant past took issue with).
2019-10-12 21:10:13 -06:00
Ilya Kantor
7418213b66
re-import images from Sketch (no changes)
2019-10-10 17:08:16 +03:00
Violet.Lee
bee66cb4c2
minor
2019-10-01 23:59:31 +09:00
Ilya Kantor
c4b1a404ae
Merge pull request #1340 from paroche/patch-31
...
Update article.md
2019-09-14 12:52:26 +03:00
Ilya Kantor
42244df792
Merge pull request #1339 from paroche/patch-29
...
Update article.md
2019-09-14 09:32:16 +03:00
paroche
51d2d3e5fc
Update solution.md
...
"avoid" rather than "evade".
2019-09-13 17:04:35 -06:00
paroche
5138c587be
Update article.md
...
Wording adjustments in Summary lines "- Write/delete...", and "- The `for..in`...".
2019-09-13 16:50:27 -06:00
paroche
940a9b710d
Update article.md
...
Wording and punctuation of 'hasOwnProperty' 'for..in' loop question and answer.
2019-09-13 16:23:35 -06:00
Ilya Kantor
9bfc8cfa9c
minor
2019-08-11 14:24:31 +03:00
Ilya Kantor
4d44df6a3a
Embed font to SVG
2019-08-11 14:17:38 +03:00
Ilya Kantor
703a4f4678
minor
2019-08-06 00:15:19 +03:00
Ilya Kantor
cc25e231f4
minor
2019-08-06 00:14:10 +03:00
Ilya Kantor
f72af57b17
minor
2019-08-05 23:45:37 +03:00
daGo
083ba1c395
paste negation
...
Regardless Object.keys and other methods:
Properties from the prototype are taken into account. -> Properties from the prototype are NOT taken into account.
2019-08-05 10:38:22 +03:00
Ilya Kantor
aa65012b20
fixes
2019-08-03 07:48:52 +03:00
Ilya Kantor
a894b9e278
minor
2019-08-03 00:35:50 +03:00
Ilya Kantor
3ba28aa104
images to svg
2019-07-28 15:42:37 +03:00
Ilya Kantor
df7800adda
improvement
2019-05-23 22:27:44 +03:00
Ilya Kantor
2b447818c9
fixes
2019-05-11 10:14:23 +03:00
Ilya Kantor
06f9927406
remove extra article
2019-05-10 10:52:35 +03:00
Ilya Kantor
6e77e3adfe
improvements
2019-05-05 23:08:53 +02:00
Ilya Kantor
8f13d61a8b
Sketch editor update (no important image changes)
2019-04-05 09:17:57 +03:00
Mau Di Bert
86e8aba414
Update article.md
...
typo
2019-03-07 11:47:44 -03:00
Ilya Kantor
1373f6158c
refactor classes, add private, minor fixes
2019-03-05 18:44:28 +03:00