Commit graph

4794 commits

Author SHA1 Message Date
josephrocca
2c01903c9d
Remove Edge and Firefox warning
Supported in Edge 79 and Firefox 78
2020-08-21 11:23:42 +10:00
Sarah Lewis
bbaa75b59e
Improve phrasing 2020-08-18 16:28:35 -07:00
Ilya Kantor
fe571b36ed
Merge pull request #2066 from Violet-Bora-Lee/master
delete unused line
2020-08-16 23:05:26 +03:00
Peter Kampjes
4550b60560
Update article.md 2020-08-16 06:31:02 -03:00
Violet Bora Lee
665b97251c delete unused line 2020-08-16 17:27:21 +09:00
Ilya Kantor
b0624a189e minor fixes 2020-08-14 19:35:28 +03:00
Ilya Kantor
8eab7d6cc9 minor fixes 2020-08-14 19:34:16 +03:00
Ilya Kantor
9add5e76d5
Merge pull request #2065 from C17AN/patch-1
[Typo Correction] - "fetch" solution typo error
2020-08-14 17:10:55 +03:00
Chan-Min, Kim
43ff24e088
[Typo Correction] - "fetch" solution typo error
fixed typo - "arrray" to "array"
2020-08-14 23:09:57 +09:00
Ilya Kantor
665b8ebbba
Merge pull request #2063 from maksumi/patch-3
Update article.md
2020-08-14 08:42:13 +03:00
Maksumi Murakami
6615df4d58
Update article.md 2020-08-13 18:22:27 -05:00
Maksumi Murakami
bc92283021
Update article.md
Changes proposes for the [issue 2049](https://github.com/javascript-tutorial/en.javascript.info/issues/2049)
2020-08-13 17:39:47 -05:00
Yasath
a149bc0479
Fixed "compatibility" spelling error 2020-08-13 12:19:25 +01:00
Matt Lim
a6c9f30cb8 5.4 - change 7 basic types to eight basic types 2020-08-10 23:02:31 -07:00
Ilya Kantor
3a924fc1e8 minor fixes 2020-08-10 22:52:57 +03:00
Peter Kampjes
8a70b745f0
The solution here had no break, an infinite loop. 2020-08-09 20:39:19 -03:00
Peter Kampjes
fe12de8859
Typos 2020-08-09 20:33:39 -03:00
Ilya Kantor
fbf443e414 minor fixes 2020-08-09 21:03:34 +03:00
Ilya Kantor
2bf8a27fad minor fixes 2020-08-09 21:02:40 +03:00
Ilya Kantor
1cfd422270 minor fixes 2020-08-09 21:02:05 +03:00
Denis
0557a16f81
Update article.md
Added link to Brython Python transpiler to JavaScript
2020-08-09 20:25:22 +03:00
Peter Roche
8d13b7fb88
One more little phrasing change 2020-08-09 01:16:27 -06:00
Peter Roche
2aab98ac13
Merge pull request #2050 from javascript-tutorial/paroche-patch-19
Various minor syntax and punctuation changes
2020-08-09 01:10:07 -06:00
Peter Roche
4ff6eb4b78
Various minor syntax and punctuation changes 2020-08-09 01:03:29 -06:00
Ilya Kantor
1599dec142
Merge pull request #2047 from peachesontour/patch-5
Typos
2020-08-08 19:24:33 +03:00
Peter Kampjes
bb8fc43dd7
Typos 2020-08-08 11:53:50 -03:00
Ilya Kantor
d4fb59b2d8
Merge pull request #2046 from joaquinelio/patch-1
repeated word 2-3-6 article
2020-08-08 11:44:14 +03:00
joaquinelio
7b0d4773ce
repeated word 2020-08-08 04:24:02 -03:00
Peter Kampjes
beaf89f608
Typos 2020-08-07 22:56:07 -03:00
Ilya Kantor
7907cd667c minor fixes 2020-08-04 10:33:40 +03:00
Ilya Kantor
f0ad0bafa2 minor fixes 2020-08-04 10:30:25 +03:00
Ilya Kantor
fb4dda68e5 minor fixes 2020-08-04 10:30:13 +03:00
Ilya Kantor
d2f7d14288 minor fixes 2020-08-04 10:29:38 +03:00
Ilya Kantor
0e592a95c7 minor fixes 2020-08-04 10:29:29 +03:00
Ilya Kantor
4133532cd8 minor fixes 2020-08-04 10:29:19 +03:00
Ilya Kantor
0f7443b5df minor fixes 2020-08-04 09:25:45 +03:00
Ilya Kantor
0f391b2e2f
Update article.md 2020-08-03 08:15:53 +03:00
Ilya Kantor
cdf382de4c
Merge pull request #2031 from lumosmind/patch-49
refactoring
2020-07-30 01:13:27 +03:00
Mustafa Kemal Tuna
05e1878b3d
refactoring
more readable and more modern way
2020-07-30 00:32:44 +03:00
Peter Kampjes
ed78e2602d
Update article.md
Small fixes.
2020-07-26 21:35:32 -03:00
Peter Kampjes
1f5a40f4c1
Update article.md 2020-07-25 14:18:36 -03:00
Ilya Kantor
b0464bb32c
Merge pull request #2028 from peachesontour/patch-1
Typo
2020-07-25 13:25:38 +03:00
Peter Kampjes
dc0d9158b2
Typo
Thanks for a great tutorial!
2020-07-25 07:06:33 -03: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
Aiyo
f19c56b15d
BigInt header grammar fix 2020-07-24 10:22:22 +02:00
Ilya Kantor
8e1f438a5b
Merge pull request #1990 from lumosmind/patch-43
more definitive title
2020-07-23 23:09:25 +03:00
Mustafa Kemal Tuna
41766c939e
grammar fix 2020-07-23 22:31:55 +03:00
Mustafa Kemal Tuna
8f3831be1c
One line of code creates a lot of confusing
"// obj.toString === obj.__proto__.toString == Object.prototype.toString"
It is look like JS code but it gives different result from what we want to get.
There is different kind of equality operator ant these give more confusing what is the purpose of these?
It can be better to separate this line into 2 line of code to make it sensible and readable.
Subject and code is already hard but there is no need to make readers ask unnecessary questions.
2020-07-23 13:51:13 +03:00
Nguyễn Đức Hào
85b1e7aa34
Update article.md 2020-07-23 11:59:32 +07:00
Ilya Kantor
f38eb4e1b1
Merge pull request #2021 from lumosmind/patch-44
to make binding more clear
2020-07-21 21:32:20 +03:00