Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sync with upstream @ 540d753e#22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
javascript-translate-bot wants to merge221 commits intomaster
base:master
Choose a base branch
Loading
fromsync-540d753e
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
221 commits
Select commitHold shift + click to select a range
cd86528
Fix typo
wdscxsjOct 3, 2022
165a3f5
typo "optimzed
joaquinelioOct 3, 2022
f0ce7e9
IE 9
joaquinelioOct 3, 2022
f0fa52f
Fix typo
wdscxsjOct 4, 2022
3a5d32e
Remove typo
aki-mizuOct 5, 2022
4573d0b
Fix typos
TevaHenryOct 5, 2022
dca45f7
Unicode art, grammar suggestions
joaquinelioOct 5, 2022
dc7a157
Update article.md
joaquinelioOct 5, 2022
87c0ca9
mdn link
joaquinelioOct 6, 2022
af4843b
👾 smth
RnbsovOct 8, 2022
530dc9f
👾 smth
RnbsovOct 8, 2022
1d999c7
👾 smth
RnbsovOct 8, 2022
429caba
👾 smth
RnbsovOct 8, 2022
306a197
Update article.md
joaquinelioOct 10, 2022
69bfbb0
Update article.md
joaquinelioOct 10, 2022
b89b938
Update article.md
joaquinelioOct 10, 2022
455c57a
Update article.md
joaquinelioOct 10, 2022
6f34912
Update article.md
joaquinelioOct 10, 2022
bf7d8bb
Merge pull request #3220 from joaquinelio/patch-19
iliakanOct 10, 2022
7b0f9e5
Content-Length is now a CORS-safelisted response header
wdscxsjOct 11, 2022
fe8ed87
Fix typo
wdscxsjOct 12, 2022
75edb67
strict-origin-when-cross-origin is now the default referrerPolicy
wdscxsjOct 12, 2022
0c5ac0e
typo at String concatenation with binary
adam4njOct 13, 2022
ca42edd
Remove a redundant argument
wdscxsjOct 13, 2022
0487c35
Remove use of error.message in onerror()
wdscxsjOct 14, 2022
c09efa8
http to https checked links
joaquinelioOct 14, 2022
2ca8f83
closes #3242
iliakanOct 18, 2022
245e59e
closes #3239
iliakanOct 18, 2022
28803aa
Merge pull request #3238 from joaquinelio/pp
iliakanOct 18, 2022
2f37897
minor fixes
iliakanOct 18, 2022
f6cb5e9
Merge pull request #3237 from wdscxsj/patch-9
iliakanOct 18, 2022
321b05e
Merge pull request #3223 from joaquinelio/patch-20
iliakanOct 18, 2022
508ca01
closes #3229
iliakanOct 18, 2022
5f91fda
closes #3230
iliakanOct 18, 2022
aaf3b5b
Merge pull request #3231 from wdscxsj/patch-4
iliakanOct 18, 2022
91e8edd
Merge pull request #3232 from wdscxsj/patch-5
iliakanOct 18, 2022
36eb3da
Merge pull request #3233 from wdscxsj/patch-6
iliakanOct 18, 2022
b0e2e04
Merge pull request #3234 from adam4nj/patch-1
iliakanOct 18, 2022
a4050f2
Merge pull request #3235 from wdscxsj/patch-7
iliakanOct 18, 2022
5dff42b
closes #3222
iliakanOct 18, 2022
0c8e883
typo *udefined
joaquinelioOct 20, 2022
4edd6b5
Proper Polish language inflection
f6pOct 20, 2022
094aa10
Add .at( ) to strings summary
joaquinelioOct 20, 2022
434e637
For the completeness of example.
Vic-BonlightOct 28, 2022
b3c7a7f
👾 add run button and remove typo
RnbsovOct 29, 2022
515dc44
👾 smth
RnbsovOct 29, 2022
78a9566
👾 smth
RnbsovOct 29, 2022
9e08049
👾 smth
RnbsovOct 29, 2022
1bda839
fix: typo getRangesAt to getRangeAt
levidingOct 30, 2022
55b6c5e
Update article.md
nikolai-chernolutskiiOct 30, 2022
588117e
Update index.html
Alexandre887Oct 30, 2022
4943f21
Update article.md
alagunoffNov 1, 2022
8d185f7
Update article.md
Alexandre887Nov 4, 2022
c70a3dc
Merge pull request #3218 from aki-mizu/patch-1
iliakanNov 13, 2022
1fb0500
Merge pull request #3219 from TevaHenry/localstorage-sessionstorage
iliakanNov 13, 2022
fe3d781
Merge pull request #3227 from Rnbsov/patch-75
iliakanNov 13, 2022
1b078d0
Merge pull request #3245 from joaquinelio/patch-19
iliakanNov 13, 2022
294a91e
Merge pull request #3246 from f6p/patch-1
iliakanNov 13, 2022
083de40
Merge pull request #3247 from joaquinelio/patch-20
iliakanNov 13, 2022
a4f1afd
Merge pull request #3248 from Victor-Nikliaiev/patch-1
iliakanNov 13, 2022
fac9385
fixes #3249
iliakanNov 13, 2022
ffbe0f5
Merge pull request #3251 from Rnbsov/patch-77
iliakanNov 13, 2022
f47885b
minor fixes
iliakanNov 13, 2022
7048f44
Merge pull request #3252 from leviding/patch-7
iliakanNov 13, 2022
2c8f0fc
Merge pull request #3253 from nikolai-chernolutskii/patch-1
iliakanNov 13, 2022
6fc7ba3
Merge pull request #3254 from Alexandre887/master
iliakanNov 13, 2022
121141b
minor fixes
iliakanNov 13, 2022
a665e29
Merge pull request #3255 from alagunoff/patch-1
iliakanNov 13, 2022
8d9ecb7
Merge pull request #3258 from Alexandre887/patch-1
iliakanNov 13, 2022
dafc925
the output is 0
joaquinelioNov 14, 2022
c918da4
map.delete removes the pair key/value
joaquinelioNov 14, 2022
9f1848c
Update article.md
joaquinelioNov 14, 2022
d52f318
fix typo on Remainder %
cerealexperimentsNov 15, 2022
e1bec69
Merge pull request #3267 from cerealexperiments/patch-1
iliakanNov 15, 2022
e912311
Merge pull request #3265 from joaquinelio/patch-20
iliakanNov 15, 2022
cfc0195
Merge branch 'master' into patch-19
iliakanNov 15, 2022
33c48a4
Merge pull request #3264 from joaquinelio/patch-19
iliakanNov 15, 2022
477cb58
Merge pull request #3214 from joaquinelio/patch-17
iliakanNov 15, 2022
746ad80
closes #3260
iliakanNov 16, 2022
4e26c7e
Suggestion
bogdanbacoscaNov 26, 2022
657e389
minor code formatting
bogdanbacoscaNov 26, 2022
45a2d14
other code formatting bits
bogdanbacoscaNov 26, 2022
66ad8c1
Revert "minor code formatting"
bogdanbacoscaNov 26, 2022
67fe46f
Merge pull request #3279 from bogdanbacosca/if-else-bogdan
iliakanNov 30, 2022
cfe2249
Bezier curves: update paused demo on point move
orelbyNov 30, 2022
1ce5644
Merge pull request #3287 from orelby/animation/bezier-curve/update-de…
iliakanNov 30, 2022
8375316
fix typo, remove pleonasm
a-v-gorDec 6, 2022
e75f655
small format change
joaquinelioDec 7, 2022
4a8e8e1
Update article.md
Violet-Bora-LeeDec 7, 2022
3f305f5
Merge pull request #3292 from a-v-gor/proofreading
iliakanDec 11, 2022
9a26eb0
Merge pull request #3293 from joaquinelio/patch-19
iliakanDec 11, 2022
ea7738b
Merge pull request #3295 from Violet-Bora-Lee/patch-4
iliakanDec 11, 2022
b2e7dbf
grammar & legility (to check)
joaquinelioDec 12, 2022
88d9b3f
removed -> remove; optimzed -> optimized ;
sagarpanchalJan 18, 2023
ccd0a11
Fix "JavaScript specials" links
odsantosJan 22, 2023
ae7afcb
update
bogdanbacoscaJan 24, 2023
03b8f2e
Merge pull request #3278 from bogdanbacosca/work
iliakanJan 24, 2023
cd988dd
Fix a typo
MAHIN0093Jan 24, 2023
bbf3a44
Update 1-js/05-data-types/04-array/article.md
MAHIN0093Jan 24, 2023
f489288
Update button to fix horizontal scroll on mobile
marcusicaroJan 25, 2023
4baa619
fix: add missing word 'to'
JeraldVinJan 26, 2023
a4e9ba5
Merge pull request #3336 from JeraldVin/patch-1
iliakanJan 26, 2023
d906956
Merge pull request #3334 from marcusicaro/patch-1
iliakanJan 26, 2023
f9afaf3
Merge pull request #3330 from odsantos/fix-javascript-specials-links
iliakanJan 26, 2023
5a3db89
Merge pull request #3332 from MAHIN0093/change
iliakanJan 26, 2023
9e3fa13
Merge pull request #3302 from joaquinelio/patch-19
iliakanJan 29, 2023
968fa09
added a word
Raviikumar001Apr 4, 2023
ea5fbfa
added word fix
Raviikumar001Apr 6, 2023
af71856
Merge pull request #3425 from Raviikumar001/Added-a-word
iliakanApr 17, 2023
cd8dd53
#3345 Fixed Grammar
pradeep-ramolaApr 23, 2023
733ff69
Merge pull request #3435 from pradeep-ramola/master
iliakanApr 29, 2023
e68750e
translated Russian word into English
MSHNK1Jul 9, 2023
023c0ec
Fixing a minor grammatical typo in the document.
rahulrao0209Jul 16, 2023
d694e89
Merge pull request #3492 from MSHNK1/fix-typos
iliakanJul 17, 2023
285083f
minor fixes
iliakanAug 7, 2023
8ab6b39
Add WeakRef and FinalizationRegistry article
WOLFRIENDNov 4, 2023
5ab1ce2
Merge pull request #3609 from WOLFRIEND/master
iliakanNov 15, 2023
b7ebc1b
Improve awkward sentence structure
smith558Nov 24, 2023
75bad83
Improve grammar
smith558Nov 24, 2023
74a8a19
Fix formatting char
smith558Nov 27, 2023
d51037a
Fix grammar and add an example
nakhodkinDec 27, 2023
c66bace
Fix grammar and typos
nakhodkinDec 31, 2023
bbac8a5
Fix grammar and JavaScript syntax
nakhodkinJan 2, 2024
1b9a28b
Update article.md
JaFro96Jan 4, 2024
4ec440f
Update article.md
JaFro96Jan 4, 2024
d83bfb2
refactor: Updated RFC spec Safe Methods URL in Cookies chapter
alexandermirzoyanJan 12, 2024
9ec34c6
Replace assignment with equals in Truncate the text task
CJDumbletonJan 17, 2024
2e0d5fb
Add missing word
qadzekJan 20, 2024
52e184c
Add missing CSS unit
qadzekJan 20, 2024
0530c92
fix square brackets
mikayel00Jan 24, 2024
9270fe5
Merge pull request #3639 from JaFro96/master
smith558Jan 24, 2024
f0f1006
fix: json
mikayel00Jan 24, 2024
c98ec82
Merge pull request #3647 from CJDumbleton/CJDumbleton-patch-1
smith558Jan 24, 2024
9c07c5b
Merge pull request #3649 from qadzek/patch-1
smith558Jan 24, 2024
1a6edd7
Merge pull request #3656 from mikayel00/fix-brackets
smith558Jan 26, 2024
9d157d8
Merge pull request #3617 from smith558/patch-3
smith558Jan 27, 2024
b6c604a
Merge branch 'master' into patch-5
smith558Jan 27, 2024
4286703
Merge pull request #3644 from alexandermirzoyan/patch-2
smith558Jan 27, 2024
26ac4c8
Merge pull request #3212 from wdscxsj/patch-2
smith558Jan 27, 2024
f24e463
Merge pull request #3213 from joaquinelio/patch-15
smith558Jan 27, 2024
774d0c1
Merge pull request #3326 from sagarpanchal/patch-2
smith558Jan 27, 2024
aacfc93
Fixed grammar error in regex-groups article.md
eedrxsJan 27, 2024
e2ac312
Merge pull request #3659 from eedrxs/patch-1
smith558Jan 27, 2024
ee62307
Update article.md
nepiknFeb 2, 2024
4a20875
Update article.md
smith558Feb 11, 2024
5ce4b3a
Merge pull request #3664 from nepikn/patch-2
smith558Feb 11, 2024
daca277
Fix grammar
smith558Feb 11, 2024
3e92613
Improve options description
smith558Feb 11, 2024
b6e7472
Update samesite content
smith558Feb 13, 2024
d134cab
Remove "surely"
smith558Feb 13, 2024
19e62af
Update article.md
smith558Feb 13, 2024
a7d351f
change IndexedDb to IndexedDB (#3660)
0xtpslFeb 13, 2024
ab1db04
Fix grammar and typos (#3628)
nakhodkinFeb 14, 2024
d461a93
Merge pull request #3217 from wdscxsj/patch-3
smith558Feb 14, 2024
00bdf88
Update LICENSE.md
iliakanMar 8, 2024
25c9bdf
Update LICENSE.md
iliakanMar 8, 2024
c13e707
Update LICENSE.md
iliakanMar 8, 2024
e15f535
Update LICENSE.md
iliakanMar 8, 2024
2f91d87
Update LICENSE.md
iliakanMar 8, 2024
ea05aa9
Updated result visualization
Filin3Mar 31, 2024
04b73bf
Merge pull request #3681 from Filin3/patch-1
smith558May 5, 2024
acf339c
Merge pull request #3632 from nakhodkin/patch-2
smith558May 5, 2024
541b7f9
Merge pull request #3636 from nakhodkin/patch-5
smith558May 5, 2024
0b9bc2f
Merge pull request #3634 from nakhodkin/patch-4
smith558May 5, 2024
85da6f1
Update article.md
ellie-heidariMay 10, 2024
475899e
Update article.md
smith558May 17, 2024
7e524ba
Add link
smith558May 17, 2024
42851f4
Update task.md
pvepamb1May 18, 2024
2092da7
Merge pull request #3694 from pvepamb1/patch-1
smith558May 18, 2024
f684d39
change example element of multidimensional array
sneeedJun 8, 2024
c151e11
minor fixes
iliakanJun 13, 2024
3fd3f98
- `run`
Alexandre887Jun 23, 2024
d1ffe5d
docs: remove eval polyfill.io
kricsleoJul 5, 2024
262f91a
Merge pull request #3712 from kricsleo/patch-1
smith558Jul 8, 2024
815fafa
Merge pull request #3692 from ellie-heidari/patch-1
smith558Jul 8, 2024
d6e0376
Remove BigInt IE incompatibility part (#3709)
FloffyGarlicJul 9, 2024
5a0df77
Update article.md
shallow-beachJul 10, 2024
62827d8
Merge pull request #3715 from shallow-beach/master
smith558Jul 10, 2024
4104eba
Merge pull request #3704 from Alexandre887/patch-10
smith558Jul 10, 2024
ca72abb
Merge pull request #3700 from sneeed/patch-2
smith558Jul 10, 2024
b258d7d
Merge pull request #3495 from rahulrao0209/patch-1
smith558Jul 10, 2024
6f08958
minor fix to function name written in explanation
tonybishnoiOct 9, 2024
eedc262
Grammatical fix
nikoandpikoOct 22, 2024
34a80e7
Merge pull request #3768 from tonybishnoi/patch-1
smith558Oct 24, 2024
67833c9
Update article.md
zakingslayerv22Dec 11, 2024
b36823a
better wording
pj-szdmDec 18, 2024
dc14378
Update article.md
mhi1627Jan 22, 2025
8b2a2f2
Improve readability
AdityaGirdharJan 30, 2025
a2b97b5
Merge pull request #3810 from AdityaGirdhar/patch-1
smith558Feb 4, 2025
793ad4b
Merge branch 'master' into patch-1
smith558Feb 4, 2025
e466826
Merge pull request #3772 from nikoandpiko/patch-1
smith558Feb 4, 2025
a087279
Merge pull request #3804 from mhi1627/patch-1
smith558Feb 8, 2025
26daef2
Merge pull request #3794 from zakingslayerv22/patch-1
smith558Feb 8, 2025
6236eb8
Merge pull request #3797 from pj-szdm/patch-1
smith558Feb 8, 2025
011dd4f
Update article.md
Gleb-PastushenkoFeb 10, 2025
1dce5b7
Merge pull request #3815 from Gleb-Pastushenko/patch-6
smith558Feb 10, 2025
4b3474b
Fixed missing closing parenthesis in 2-ui/4-forms-control/1-form-elem…
vincent-clipetMar 10, 2025
3d7abb9
Merge pull request #3822 from vincent-clipet/fix/missing_parenthesis
smith558Mar 10, 2025
3de63df
promise.all task
iliakanMar 24, 2025
ef31066
minor fixes
iliakanMar 24, 2025
de4247b
minor fixes
iliakanMar 24, 2025
0af25bc
minor fixes
iliakanMar 24, 2025
d932e52
minor fixes
iliakanMar 24, 2025
f0d8abb
minor fixes
iliakanMar 24, 2025
f775835
minor fixes
iliakanMar 24, 2025
0760c90
minor fixes
iliakanMar 24, 2025
5dea441
minor fixes
iliakanMar 24, 2025
035c526
minor fixes
iliakanMar 24, 2025
4c4598b
Fix for #3826 - Removed errorception.com from the respective md file.
Paramesh-T-SMar 29, 2025
cde189d
Update Safari settings screenshots
dangermanApr 2, 2025
78c6c44
Update Safari devtools instructions
dangermanApr 2, 2025
e88c212
Update Function object, NFE article
rahulrao0209Apr 6, 2025
a711a1f
Merge pull request #3830 from Paramesh-T-S/Issue_fix_Outdate_-link_in…
iliakanApr 8, 2025
efaa9aa
sentry.io added as per suggestion - https://github.com/javascript-tut…
Paramesh-T-SApr 8, 2025
6cc5077
Merge pull request #3835 from Paramesh-T-S/Issue_fix_Outdate_-link_in…
iliakanApr 9, 2025
81cfee9
Update article.md
rahulrao0209Apr 13, 2025
e2d8ebe
Merge pull request #3836 from rahulrao0209/patch-3
smith558Apr 13, 2025
6bbdd0c
Merge pull request #3834 from rahulrao0209/patch-2
smith558Apr 13, 2025
d3c395c
Merge pull request #3832 from dangerman/update-safari-devtools-screen…
smith558Apr 13, 2025
540d753
Replace with up to date screenshots
smith558Apr 13, 2025
da0325f
merging all conflicts
iliakanJun 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions.github/FUNDING.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
github: iliakan
19 changes: 19 additions & 0 deletions1-js/01-getting-started/3-code-editors/article.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,16 +29,35 @@ Windows үчүн Visual Studio да бар (Visual Studio Code менен чат

Иш жүзүндө "жеңил" редакторлор көптөгөн плагиндерге, анын ичинде директория деңгээлиндеги синтаксис анализаторлору жана автокошумчалоолору ээ болушу мүмкүн, ошондуктан "жеңил" редактор менен IDE ортосунда катуу чеги жок.

<<<<<<< HEAD
Төмөнкү варианттар сиздин көңүлүңүздү бурууга татыктуу:
- [Atom](https://atom.io) (кроссплатформалуу, акысыз)
- [Sublime Text](http://www.sublimetext.com) (кроссплатформалуу, шарттуу акысыз).
- [Notepad++](https://notepad-plus-plus.org/) (Windows, акысыз).
- [Vim](http://www.vim.org/) жана [Emacs](https://www.gnu.org/software/emacs/) кантип колдонгонун билсеңиз, алар да жакшы.

## Жаңжалдашпайлы
=======
There are many options, for instance:

- [Sublime Text](https://www.sublimetext.com/) (cross-platform, shareware).
- [Notepad++](https://notepad-plus-plus.org/) (Windows, free).
- [Vim](https://www.vim.org/) and [Emacs](https://www.gnu.org/software/emacs/) are also cool if you know how to use them.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

Жогоруда саналган редакторлор авторго көптөн бери белгилүү жана кесиптештеринин көптөгөн жакшы пикирлерине ээ болушкан.

Албетте, башка көптөгөн сонун редакторлор бар. Сизге эң жактырганын тандаңыз.

<<<<<<< HEAD
Башка куралды сыяктуу эле редакторду тандоо жеке иш болуп саналат жана долбоорлоруңузга, адаттарыңызга жана жеке каалоолоруңузга жараша болот.
=======
There are other great editors in our big world. Please choose the one you like the most.

The choice of an editor, like any other tool, is individual and depends on your projects, habits, and personal preferences.

The author's personal opinion:

- I'd use [Visual Studio Code](https://code.visualstudio.com/) if I develop mostly frontend.
- Otherwise, if it's mostly another language/platform and partially frontend, then consider other editors, such as XCode (Mac), Visual Studio (Windows) or Jetbrains family (Webstorm, PHPStorm, RubyMine etc, depending on the language).
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b
6 changes: 5 additions & 1 deletion1-js/01-getting-started/4-devtools/article.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,7 +22,7 @@

Көрүнүшү:

![chrome](chrome.png)
![chrome](chrome.webp)

Иштеп чыгуучу куралдардын так көрүнүшү Chrome версияңыздан көз каранды. Анда-санда өзгөрүп турат, бирок, жалпысынан, көрүнүшү мурунку версияларга окшош бойдон калууда.

Expand All@@ -48,9 +48,13 @@
## Safari


<<<<<<< HEAD
Safari (Mac браузери, Windows/Linux тарабынан колдоого алынбайт) бул жерде бир аз өзгөчө. Адегенде "Иштеп чыгуу менюсун" ("Developer menu") күйгүзүшүбүз керек.

Орнотууларды (Preferences) ачып, "Өркүндөтүлгөндөр" (Advanced) панелине өтүңүз. Төмөндө чекбокс бар:
=======
Open Settings and go to the "Advanced" pane. There's a checkbox at the bottom:
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

![safari](safari.png)

Expand Down
Binary file removed1-js/01-getting-started/4-devtools/chrome.png
View file
Open in desktop
Binary file not shown.
View file
Open in desktop
Binary file not shown.
View file
Open in desktop
Binary file not shown.
Binary file removed1-js/01-getting-started/4-devtools/chrome@2x.png
View file
Open in desktop
Binary file not shown.
Binary file modified1-js/01-getting-started/4-devtools/safari.png
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified1-js/01-getting-started/4-devtools/safari@2x.png
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions1-js/02-first-steps/04-variables/article.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,16 +88,26 @@ let user = 'Жакыя'
*!*var*/!* message = 'Салам';
```

<<<<<<< HEAD
`var` ачкыч сөзү `let` менен *дээрлик* бирдей. Ал өзгөрмөнү жарыялайт, бирок бир аз башкача, "эскирген" жол менен.

`let` жана `var` ортосунда назик айырмачылыктар бар, бирок алар биз үчүн азырынча маанилүү эмес. Биз аларды <info:var> бөлүмүндө кененирээк карап чыгабыз.
=======
The `var` keyword is *almost* the same as `let`. It also declares a variable but in a slightly different, "old-school" way.

There are subtle differences between `let` and `var`, but they do not matter to us yet. We'll cover them in detail in the chapter <info:var>.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b
````

## Жашоодогу аналогия

Эгерде өзгөрмөнү берилмелер үчүн уникалдуу аталышы бар "куту" катары элестетсек, биз "өзгөрмө" түшүнүгүн оңой эле түшүнө алабыз.

<<<<<<< HEAD
Мисалы үчүн, `message` өзгөрмөсүн `"билдирүү"` деп аталган жана анын ичиндеги `"Салам!"` мааниси бар куту катары элестетүүгө болот.
=======
For instance, the variable `message` can be imagined as a box labelled `"message"` with the value `"Hello!"` in it:
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

![](variable.svg)

Expand DownExpand Up@@ -150,12 +160,21 @@ let message = "Ошол"; // SyntaxError: 'message' has already been declared
Ошондуктан, биз өзгөрмөнү бир гана жолу жарыялап, ага `let`'сиз кайрылышыбыз керек.
````

<<<<<<< HEAD
```smart header="Функционалдуу тилдер"
Өзгөрмө маанилерин өзгөртүүгө тыюу салган [Scala](http://www.scala-lang.org/) же [Erlang](http://www.erlang.org/) сыяктуу [функционалдуу](https://en.wikipedia.org/wiki/Functional_programming) программалоо тилдери бар экенин белгилей кетүү кызык.
=======
```smart header="Functional languages"
It's interesting to note that there exist so-called [pure functional](https://en.wikipedia.org/wiki/Purely_functional_programming) programming languages, such as [Haskell](https://en.wikipedia.org/wiki/Haskell), that forbid changing variable values.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

Мындай тилдерде бир жолу "кутуда" сакталган маани түбөлүккө ошол жерде калат. Эгер башка нерсени сактоо керек болсо, тил бизди жаңы кутуча түзүүгө (жаңы өзгөрмө жарыялоого) мажбурлайт. Биз эски өзгөрмөнү колдоно албайбыз.

<<<<<<< HEAD
Бир караганда бул бир аз кызыктай көрүнгөнү менен, бул тилдер олуттуу иштеп чыгууга жөндөмдүү. Мындан тышкары, бул чектөө кээ бир артыкчылыктарды берген параллелдүү эсептөөлөр сыяктуу аймактар бар. Мындай тилди үйрөнүү (сиз аны жакында колдонууну пландабасаңыз да) акыл-эсти кеңейтүү үчүн сунушталат.
=======
Though it may seem a little odd at first sight, these languages are quite capable of serious development. More than that, there are areas like parallel computations where this limitation confers certain benefits.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b
```

## Өзгөрмөлөрдү атоо [#variable-naming]
Expand DownExpand Up@@ -197,15 +216,24 @@ let my-name; // атта '-' дефисти коюуга болбойт
`apple` жана `APPLE` деп аталган өзгөрмөлөр -- бул эки башка өзгөрмө.
```

<<<<<<< HEAD
````smart header="Латын эмес тамгаларга уруксат берилет, бирок сунушталбайт"
Каалаган тилди, анын ичинде кирил тамгаларын же жадаганда иероглифтерди колдонууга болот:
=======
````smart header="Non-Latin letters are allowed, but not recommended"
It is possible to use any language, including Cyrillic letters, Chinese logograms and so on, like this:
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

```js
let аталыш = '...';
let 我 = '...';
```

<<<<<<< HEAD
Техникалык жактан бул жерде ката жок. Мындай аттарга уруксат берилген, бирок өзгөрмө аттарында англис тилин колдонуу боюнча эл аралык келишим бар. Кичинекей скрипт жазып жатсак да, анын алдында өмүрү узун болушу мүмкүн. Башка өлкөлөрдөн келгендер аны бир нече жолу окууга туура келиши мүмкүн.
=======
Technically, there is no error here. Such names are allowed, but there is an international convention to use English in variable names. Even if we're writing a small script, it may have a long life ahead. People from other countries may need to read it sometime.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b
````

````warn header="Резервделген аттар"
Expand DownExpand Up@@ -260,11 +288,19 @@ const myBirthday = '18.04.1982';
myBirthday = '01.01.2001'; // ката, константаны өзгөртүүгө болбойт!
```

<<<<<<< HEAD
Эгерде программист өзгөрмө эч качан өзгөрбөйт деп ишенсе, ал муну кепилдей алат жана аны `const` аркылуу жарыялоо менен ар бирине так кабарлай алат.
=======
When a programmer is sure that a variable will never change, they can declare it with `const` to guarantee and communicate that fact to everyone.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

### Баш тамгадагы константалар

<<<<<<< HEAD
Скрипт аткарылганга чейин белгилүү болгон эстеп калууга кыйын маанилер үчүн константаларды тергеме ат катары колдонуу тажрыйбасы кеңири таралган.
=======
There is a widespread practice to use constants as aliases for difficult-to-remember values that are known before execution.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

Мындай константалардын аталыштары баш тамгалар жана ылдыйкы сызыкчалар менен жазылат.

Expand All@@ -289,15 +325,23 @@ alert(color); // #FF7F00

Качан константа үчүн баш тамгаларды колдонушубуз керек жана качан аны кадимкидей аташыбыз керек? Келгиле, бул маселени чечели.

<<<<<<< HEAD
"Константа" болуу жөн гана өзгөрмөнүн мааниси эч качан өзгөрбөй турганын билдирет. Бирок аткарылганга чейин белгилүү болгон константалар бар (кызыл түстүн он алтылык мааниси сыяктуу) жана скрипттин аткарылышы учурунда *эсептелүүчү*, бирок алар башында жарыялангандан кийин өзгөрбөй турган константалар да бар.
=======
Being a "constant" just means that a variable's value never changes. But some constants are known before execution (like a hexadecimal value for red) and some constants are *calculated* in run-time, during the execution, but do not change after their initial assignment.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

Мисалы үчүн:

```js
const pageLoadTime = /* веб-баракчаны жүктөөгө сарпталган убакыт */;
```

<<<<<<< HEAD
`pageLoadTime` константасынын мааниси баракчаны жүктөөдөн мурун белгилүү эмес, андыктан ал кадимкидей аталат. Бирок ал дагы эле константа, анткени жарыялангандан кийин өзгөрбөйт.
=======
The value of `pageLoadTime` is not known before the page load, so it's named normally. But it's still a constant because it doesn't change after the assignment.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

Башкача айтканда, баш тамгалар менен аталган константалар "катуу коддолгон" маанилер үчүн тергеме ат катары гана колдонулат.

Expand All@@ -307,18 +351,31 @@ const pageLoadTime = /* веб-баракчаны жүктөөгө сарпта

Өзгөрмөнүн аталышы ал сактаган берилмелерди сыпаттаган таза, анык мааниге ээ болушу керек.

<<<<<<< HEAD
Өзгөрмөлөрдү атоо -- бул программалоодогу эң маанилүү жана татаал көндүмдөрдүн бири. Өзгөрмөлөрдүн аттарына тез караш кайсы кодду башталгыч же тажрыйбалуу иштеп чыгуучу жазганын көрсөтө алат.

Чыныгы долбоордо көп убакыт нөлдөн толугу менен өзүнчө бир нерсени жазууга эмес, учурдагы код базасын өзгөртүүгө жана кеңейтүүгө жумшалат. Бир аз убакытка башка бир нерсе кылгандан кийин кодго кайтып келгенде, жакшы белгиленген маалыматты табуу далай жеңил болот. Же, башкача айтканда, өзгөрмөлөр жакшы аттарга ээ болгондо.
=======
Variable naming is one of the most important and complex skills in programming. A glance at variable names can reveal which code was written by a beginner versus an experienced developer.

In a real project, most of the time is spent modifying and extending an existing code base rather than writing something completely separate from scratch. When we return to some code after doing something else for a while, it's much easier to find information that is well-labelled. Or, in other words, when the variables have good names.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

Сураныч, өзгөрмөнү жарыялоодон мурун анын туура аталышы жөнүндө ойлонууга убакыт бөлүңүз. Ушундай кылыңыз, ошондо сиз сыйланасыз.

Бир нече жакшы эрежелер:

<<<<<<< HEAD
- `userName` же `shoppingCart` сыяктуу окууга оңой аттарды колдонуңуз.
- Эмне кылып жатканыңызды так билбесеңиз, `a`, `b`, `c` сыяктуу кыскартуулардан же кыска аталыштардан алыс болуңуз.
- Аттарды максималдуу түрдө сыпаттоочу жана кыска кылыңыз. Жаман аттардын мисалдары: `data` жана `value`. Мындай ысымдар эч нерсени айтпайт. Аларды коддун контекстинен өзгөрмө кандай маалыматтарды сактай турганы анык болсо гана колдонсо болот.
- Колдонулган терминдер боюнча командаңыз менен макулдашыңыз. Эгер сайтка кирүүчү "user" деп аталса, анда аны менен байланышкан өзгөрмөлөрдү, мисалы, `currentVisitor` же `newManInTown` эмес, `currentUser` же `newUser` деп аташыбыз керек.
=======
- Use human-readable names like `userName` or `shoppingCart`.
- Stay away from abbreviations or short names like `a`, `b`, and `c`, unless you know what you're doing.
- Make names maximally descriptive and concise. Examples of bad names are `data` and `value`. Such names say nothing. It's only okay to use them if the context of the code makes it exceptionally obvious which data or value the variable is referencing.
- Agree on terms within your team and in your mind. If a site visitor is called a "user" then we should name related variables `currentUser` or `newUser` instead of `currentVisitor` or `newManInTown`.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

Жөнөкөй угулабы? Чынында эле ошондой, бирок тажрыйбада түшүнүктүү жана кыска өзгөрмө аттарын түзүү -- бул сейректик. Алга.

Expand Down
8 changes: 8 additions & 0 deletions1-js/02-first-steps/05-types/article.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -92,13 +92,17 @@ const bigInt = 1234567890123456789012345678901234567890n;

`BigInt` сандары сейрек талап кылынгандыктан, биз аларды бөлөк <info:bigint> бөлүмүндө караштырабыз. Ушунчалык чоң сандар керек болгондо аны окуңуз.

<<<<<<< HEAD
```smart header="Шайкештик көйгөйлөрү"
Азыркы учурда `BigInt` Firefox/Chrome/Edge/Safari браузерлеринде колдоого алынат, бирок IE'де - жок.
```

я Браузердин кайсы версиялары колдоого алынарын билүү үчүн [*MDN* BigInt шайкештик жадыбалын](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#Browser_compatibility) карап көрсөңүз болот.

## Сап (string)
=======
## String
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

JavaScript'те сап тырмакчага алынышы керек.

Expand DownExpand Up@@ -222,7 +226,11 @@ alert(age); // "undefined"

## typeof оператору [#type-typeof]

<<<<<<< HEAD
`typeof` оператору аргументинин түрүн кайтарат. Бул ар кандай түрдөгү маанилерди башкача иштеткибиз келгенде же жөн гана тез текшерүүнү каалаганыбызда пайдалуу.
=======
The `typeof` operator returns the type of the operand. It's useful when we want to process values of different types differently or just want to do a quick check.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

`typeof x` чалуусу түрү аталышы менен сапты кайтарат:

Expand Down
4 changes: 4 additions & 0 deletions1-js/02-first-steps/07-type-conversions/article.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -34,7 +34,11 @@ alert(typeof value); // string

## Санга айландыруу

<<<<<<< HEAD
Сандарга айландыруу математикалык функцияларда жана туюнтмаларда автоматтык түрдө ишке ашат.
=======
Numeric conversion in mathematical functions and expressions happens automatically.
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b

Мисалы, бөлүү `/` сандар эместерге колдонулганда:

Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp