Commit 42f27a0
committed
add: 1-js full translation
1 parent 2580357 commit 42f27a0
File tree
504 files changed
+7012
-16552
lines changed- 1-js
- 02-first-steps
- 01-hello-world
- 02-structure
- 03-strict-mode
- 04-variables
- 1-hello-variables
- 2-declare-variables
- 3-uppercast-constant
- 05-types
- 06-alert-prompt-confirm
- 1-simple-page
- 07-type-conversions
- 08-comparison/1-comparison-questions
- 08-operators
- 1-increment-order
- 2-assignment-result
- 3-primitive-conversions-questions
- 4-fix-prompt
- 09-comparison
- 1-comparison-questions
- 10-ifelse
- 1-if-zero-string
- 2-check-standard
- ifelse_task2
- 3-sign
- if_sign
- 5-rewrite-if-question
- 6-rewrite-if-else-question
- 11-logical-operators
- 1-alert-null-2-undefined
- 2-alert-or
- 3-alert-1-null-2
- 4-alert-and
- 5-alert-and-or
- 6-check-if-in-range
- 7-check-if-out-range
- 8-if-question
- 9-check-login
- 12-nullish-coalescing-operator
- 13-while-for
- 1-loop-last-value
- 2-which-value-while
- 3-which-value-for
- 4-for-even
- 5-replace-for-while
- 6-repeat-until-correct
- 7-list-primes
- 14-switch
- 1-rewrite-switch-if-else
- 2-rewrite-if-switch
- 15-function-basics
- 1-if-else-required
- 2-rewrite-function-question-or
- 3-min
- 4-pow
- 16-function-expressions
- 17-arrow-functions-basics
- 1-rewrite-arrow
- 18-javascript-specials
- 03-code-quality
- 01-debugging-chrome
- debugging.view
- 02-coding-style
- 1-style-errors
- 03-comments
- 04-ninja-code
- 05-testing-mocha
- 3-pow-test-wrong
- beforeafter.view
- pow-1.view
- pow-2.view
- pow-3.view
- pow-4.view
- pow-full.view
- pow-min.view
- pow-nan.view
- 06-polyfills
- 04-object-basics
- 01-object
- 2-hello-object
- 3-is-empty
- _js.view
- 4-const-object
- 5-sum-object
- 8-multiply-numeric
- _js.view
- 02-object-copy
- 03-garbage-collection
- 04-object-methods
- 2-check-syntax
- 4-object-property-this
- 7-calculator
- _js.view
- 8-chain-calls
- _js.view
- 05-object-toprimitive
- 06-constructor-new
- 1-two-functions-one-object
- 2-calculator-constructor
- _js.view
- 3-accumulator
- _js.view
- 07-optional-chaining
- 08-symbol
- 05-data-types
- 01-primitives-methods
- 1-string-new-property
- 02-number
- 1-sum-interface
- 2-why-rounded-down
- 3-repeat-until-number
- _js.view
- 4-endless-loop-error
- 8-random-min-max
- 9-random-int-min-max
- 03-string
- 1-ucfirst
- _js.view
- 2-check-spam
- 3-truncate
- _js.view
- 4-extract-currency
- _js.view
- 04-array
- 1-item-value
- 10-maximal-subarray
- _js.view
- 2-create-array
- 3-call-array-this
- 5-array-input-sum
- 05-array-methods
- 1-camelcase
- _js.view
- 10-average-age
- 11-array-unique
- _js.view
- 12-reduce-object
- _js.view
- 2-filter-range
- _js.view
- 3-filter-range-in-place
- _js.view
- 4-sort-back
- 5-copy-sort-array
- 6-array-get-names
- 6-calculator-extendable
- _js.view
- 7-map-objects
- 8-sort-objects
- 9-shuffle
- 06-iterable
- 07-map-set
- 01-array-unique-map
- _js.view
- 02-filter-anagrams
- _js.view
- 03-iterable-keys
- 08-weakmap-weakset
- 01-recipients-read
- 02-recipients-when-read
- 09-keys-values-entries
- 02-count-properties
- _js.view
- 10-destructuring-assignment
- 6-max-salary
- _js.view
- 11-date
- 1-new-date
- 2-get-week-day
- _js.view
- 3-weekday
- _js.view
- 4-get-date-ago
- _js.view
- 5-last-day-of-month
- _js.view
- 6-get-seconds-today
- 7-get-seconds-to-tomorrow
- 8-format-date-relative
- _js.view
- 12-json
- 1-serialize-object
- 2-serialize-event-circular
- 06-advanced-functions
- 01-recursion
- 01-sum-to
- 02-factorial
- 03-fibonacci-numbers
- 04-output-single-linked-list
- 05-output-single-linked-list-reverse
- 02-rest-parameters-spread
- 03-closure
- 1-closure-latest-changes
- 10-make-army
- _js.view
- 2-closure-variable-access
- 3-counter-independent
- 4-counter-object-independent
- 5-function-in-if
- 6-closure-sum
- 7-let-scope
- 8-filter-through-function
- _js.view
- 9-sort-by-field
- _js.view
- 04-var
- 05-global-object
- 06-function-object
- 2-counter-inc-dec
- _js.view
- 5-sum-many-brackets
- _js.view
- 07-new-function
- 08-settimeout-setinterval
- 1-output-numbers-100ms
- 4-settimeout-result
- 09-call-apply-decorators
- 01-spy-decorator
- _js.view
- 02-delay
- _js.view
- 03-debounce
- _js.view
- debounce.view
- 04-throttle
- _js.view
- 10-bind
- 2-write-to-object-after-bind
- 3-second-bind
- 4-function-property-after-bind
- 5-question-use-bind
- 6-ask-partial
- 12-arrow-functions
- 07-object-properties
- 01-property-descriptors
- 02-property-accessors
- 08-prototypes
- 01-prototype-inheritance
- 1-property-after-delete
- 2-search-algorithm
- 3-proto-and-this
- 4-hamster-proto
- 02-function-prototype
- 1-changing-prototype
- 4-new-object-same-constructor
- 03-native-prototypes
- 1-defer-to-prototype
- 2-defer-to-prototype-extended
- 04-prototype-methods
- 2-dictionary-tostring
- 3-compare-calls
- 05-getting-all-properties
- 09-classes
- 01-class
- 1-rewrite-to-class
- _js.view
- 02-class-inheritance
- 1-class-constructor-error
- 2-clock-class-extended
- solution.view
- source.view
- 03-static-properties-methods
- 3-class-extend-object
- 04-private-protected-properties-methods
- 05-extend-natives
- 06-instanceof
- 1-strange-instanceof
- 07-mixins
- 10-error-handling
- 1-try-catch
- 1-finally-or-code-after
- 2-custom-errors
- 1-format-error
- 11-async
- 01-callbacks
- 02-promise-basics
- 01-re-resolve
- 02-delay-promise
- 03-animate-circle-promise
- solution.view
- 03-promise-chaining
- 01-then-vs-catch
- 04-promise-error-handling
- 01-error-async
- 05-promise-api
- 01-promise-errors-as-results
- 02-promise-errors-as-results-2
- 06-promisify
- 07-microtask-queue
- 08-async-await
- 01-rewrite-async
- 02-rewrite-async-2
- 03-async-from-regular
- 12-generators-iterators
- 1-generators
- 01-pseudo-random-generator
- _js.view
- 2-async-iterators-generators
- 13-modules
- 01-modules-intro
- say.view
- scopes-working.view
- scopes.view
- 02-import-export
- 03-modules-dynamic-imports
- say.view
- 99-js-misc
- 01-proxy
- 01-error-nonexisting
- 02-array-negative
- 03-observable
- 02-eval
- 1-eval-calculator
- 03-currying-partials
- 04-reference-type
- 2-check-syntax
- 3-why-this
- 05-bigint
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
504 files changed
+7012
-16552
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
| 97 | + | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
| |||
117 | 115 | | |
118 | 116 | | |
119 | 117 | | |
120 | | - | |
121 | | - | |
| 118 | + | |
122 | 119 | | |
123 | 120 | | |
124 | 121 | | |
125 | 122 | | |
126 | 123 | | |
127 | | - | |
| 124 | + | |
128 | 125 | | |
129 | | - | |
| 126 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 49 | + | |
54 | 50 | | |
55 | | - | |
| 51 | + | |
56 | 52 | | |
57 | | - | |
| 53 | + | |
58 | 54 | | |
59 | | - | |
60 | | - | |
| 55 | + | |
| 56 | + | |
61 | 57 | | |
62 | 58 | | |
63 | | - | |
| 59 | + | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
68 | | - | |
69 | | - | |
| 64 | + | |
70 | 65 | | |
71 | | - | |
| 66 | + | |
72 | 67 | | |
73 | 68 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 69 | + | |
83 | 70 | | |
84 | 71 | | |
85 | 72 | | |
86 | 73 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 74 | + | |
102 | 75 | | |
| 76 | + | |
103 | 77 | | |
104 | | - | |
| 78 | + | |
105 | 79 | | |
106 | | - | |
| 80 | + | |
107 | 81 | | |
108 | 82 | | |
109 | | - | |
| 83 | + | |
110 | 84 | | |
111 | 85 | | |
112 | | - | |
| 86 | + | |
113 | 87 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 88 | + | |
127 | 89 | | |
128 | 90 | | |
129 | | - | |
| 91 | + | |
130 | 92 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 93 | + | |
136 | 94 | | |
137 | | - | |
| 95 | + | |
138 | 96 | | |
139 | | - | |
| 97 | + | |
140 | 98 | | |
141 | | - | |
| 99 | + | |
142 | 100 | | |
143 | | - | |
| 101 | + | |
144 | 102 | | |
145 | | - | |
| 103 | + | |
146 | 104 | | |
147 | | - | |
148 | | - | |
| 105 | + | |
| 106 | + | |
149 | 107 | | |
150 | | - | |
| 108 | + | |
151 | 109 | | |
152 | 110 | | |
153 | | - | |
| 111 | + | |
154 | 112 | | |
155 | | - | |
| 113 | + | |
156 | 114 | | |
157 | 115 | | |
158 | | - | |
| 116 | + | |
159 | 117 | | |
160 | 118 | | |
161 | | - | |
162 | | - | |
| 119 | + | |
| 120 | + | |
163 | 121 | | |
164 | 122 | | |
165 | | - | |
166 | | - | |
| 123 | + | |
167 | 124 | | |
168 | | - | |
| 125 | + | |
169 | 126 | | |
170 | 127 | | |
171 | | - | |
172 | | - | |
| 128 | + | |
| 129 | + | |
173 | 130 | | |
174 | | - | |
| 131 | + | |
175 | 132 | | |
176 | 133 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 134 | + | |
| 135 | + | |
184 | 136 | | |
185 | 137 | | |
186 | | - | |
187 | | - | |
| 138 | + | |
| 139 | + | |
188 | 140 | | |
189 | | - | |
| 141 | + | |
190 | 142 | | |
191 | 143 | | |
192 | 144 | | |
193 | | - | |
| 145 | + | |
194 | 146 | | |
195 | | - | |
| 147 | + | |
196 | 148 | | |
197 | 149 | | |
198 | 150 | | |
199 | | - | |
| 151 | + | |
200 | 152 | | |
201 | | - | |
| 153 | + | |
202 | 154 | | |
203 | | - | |
| 155 | + | |
0 commit comments