How
Answer and explanation: https://learn.coderslang.com/js-test-22-tostring-nuances-in-javascript
toString
works in JavaScript?Answer and explanation: https://learn.coderslang.com/js-test-22-tostring-nuances-in-javascript
How many times can you
Answer and explanation: https://learn.coderslang.com/js-test-23-splicing-javascript-arrays
splice
the JavaScript array?Answer and explanation: https://learn.coderslang.com/js-test-23-splicing-javascript-arrays
Can we add an extra field to a regular JS string?
Answer and explanation: https://learn.coderslang.com/js-test-24-adding-properties-to-strings-in-javascript
Answer and explanation: https://learn.coderslang.com/js-test-24-adding-properties-to-strings-in-javascript
How fast is immediate resolve in JavaScript? What’s the output?
Answer and explanation: https://learn.coderslang.com/js-test-25-immediate-resolve
Answer and explanation: https://learn.coderslang.com/js-test-25-immediate-resolve
Are these dates equal?
Answer and explanation: https://learn.coderslang.com/js-test-26-date-equality-in-javascript/
Answer and explanation: https://learn.coderslang.com/js-test-26-date-equality-in-javascript/
In JavaScript you can handle errors in Promise chains using 2 similar approaches.
Is there a difference in them? How do f1 and f2 behave?
Answer and explanation: https://learn.coderslang.com/js-test-27-handling-errors-in-promise-chains/
Is there a difference in them? How do f1 and f2 behave?
Answer and explanation: https://learn.coderslang.com/js-test-27-handling-errors-in-promise-chains/
Jack tried to resolve and reject the Promise at the same time. What did he see in the console?
Answer and explanation: https://learn.coderslang.com/js-test-28-promise-resolution/
Answer and explanation: https://learn.coderslang.com/js-test-28-promise-resolution/
What happens if we
Answer and explanation: https://learn.coderslang.com/js-test-29-slice-and-dice
slice
and splice
the same array?Answer and explanation: https://learn.coderslang.com/js-test-29-slice-and-dice
What happens if we try to
Answer and explanation: https://learn.coderslang.com/js-test-30-reject-inside-resolve
reject
the Promise inside resolve
?Answer and explanation: https://learn.coderslang.com/js-test-30-reject-inside-resolve
How good are you at basic JS calculus?
Answer and explanation: https://learn.coderslang.com/js-test-32-basic-js-calculus/
Answer and explanation: https://learn.coderslang.com/js-test-32-basic-js-calculus/
Let's add two empty arrays and check the type of the result. What's the output?
Answer and explanation:
https://learn.coderslang.com/ru/js-test-33-add-two-empty-arrays-and-check-the-type/
Answer and explanation:
https://learn.coderslang.com/ru/js-test-33-add-two-empty-arrays-and-check-the-type/
How do you save the current date in JS? What's the output?
Answer and explanation: https://learn.coderslang.com/js-test-34-different-ways-to-get-current-date/
Answer and explanation: https://learn.coderslang.com/js-test-34-different-ways-to-get-current-date/
I noticed that a lot of CoderslangJS learners are way too far from the interview prep. No surprises, btw. Learning to code from scratch takes at least half a year.
So I started writing tutorials that help you understand core JavaScript topics. These tutorials are short, concise and always have code examples.
Here’s the first one: https://learn.coderslang.com/0022-how-to-compare-strings-in-javascript
So I started writing tutorials that help you understand core JavaScript topics. These tutorials are short, concise and always have code examples.
Here’s the first one: https://learn.coderslang.com/0022-how-to-compare-strings-in-javascript
Coderslang: Become a Software Engineer
4 ways to compare strings in JavaScript
In this short JS tutorial, you’ll learn how to compare strings and see code examples.
What’s faster, immediate resolve or zero timeout? What’s the order of the output?
Answer and explanation: https://learn.coderslang.com/js-test-35-zero-timeout-vs-immediate-resolve/
Answer and explanation: https://learn.coderslang.com/js-test-35-zero-timeout-vs-immediate-resolve/
JavaScript, how to delay the function execution with setTimeout. https://learn.coderslang.com/0025-javascript-settimeout-delay-the-function-execution/
Coderslang: Become a Software Engineer
JavaScript setTimeout, how to delay the function execution
By default, all JavaScript code runs synchronously. This means that the statements are evaluated from top to bottom, one after another.
console.log('hello'); console.log('synchronous'); console.log('world'); The strings will be printed to the console in the…
console.log('hello'); console.log('synchronous'); console.log('world'); The strings will be printed to the console in the…
Channel name was changed to «Сoderslang: Become a Software Engineer»
JavaScript, asynchronous programming and promises: https://learn.coderslang.com/0027-javascript-asynchronous-programming-and-promises
Coderslang: Become a Software Engineer
JavaScript, asynchronous programming and Promise
In this tutorial, you’ll learn what are the promises in JS, which states can the JavaScript Promise be in and how to handle asynchronous errors in JS promises.