diff --git a/blog_posts/javascript-function-call-apply-bind.md b/blog_posts/javascript-function-call-apply-bind.md index 2ef2d526e..0cb584139 100644 --- a/blog_posts/javascript-function-call-apply-bind.md +++ b/blog_posts/javascript-function-call-apply-bind.md @@ -4,7 +4,7 @@ type: story tags: javascript,function authors: chalarangelo cover: blog_images/js-functions.jpg -excerpt: Learn everything you need to know about JavaScript's Function.prototype.call(), Function.prototype.apply() and Function.prototype.bind() with this short guide. +excerpt: Learn everything you need to know about JavaScript's `Function.prototype.call()`, `Function.prototype.apply()` and `Function.prototype.bind()` with this short guide. --- ### Function.prototype.call() diff --git a/blog_posts/javascript-sleep.md b/blog_posts/javascript-sleep.md index f51d01199..d22789cb6 100644 --- a/blog_posts/javascript-sleep.md +++ b/blog_posts/javascript-sleep.md @@ -4,7 +4,7 @@ type: question tags: javascript,date,promise authors: chalarangelo cover: blog_images/sleepy-cat.jpg -excerpt: Learn all the different ways you can implement a sleep() function in JavaScript. +excerpt: Learn all the different ways you can implement a `sleep()` function in JavaScript. --- JavaScript does not come with a `sleep()` function out of the box and that is probably a good idea considering the environments where it runs and the trouble such a function could cause if used incorrectly. The closest equivalent of such a function is `setTimeout`, however there are other, less common ways to implement a function that will freeze the current thread for a specified amount of time. diff --git a/blog_posts/javascript-this.md b/blog_posts/javascript-this.md index dc1450301..ad3c1a906 100644 --- a/blog_posts/javascript-this.md +++ b/blog_posts/javascript-this.md @@ -4,7 +4,7 @@ type: story tags: javascript,function,object authors: chalarangelo cover: blog_images/u-got-this.jpg -excerpt: JavaScript's "this" keyword is a source of confusion for many beginners and veterans alike. Learn how it works in different scenarios and start using it correctly. +excerpt: JavaScript's `this` keyword is a source of confusion for many beginners and veterans alike. Learn how it works in different scenarios and start using it correctly. --- ### What is `this`? diff --git a/blog_posts/javascript-variable-hoisting.md b/blog_posts/javascript-variable-hoisting.md index dab880d9a..2df264aa7 100644 --- a/blog_posts/javascript-variable-hoisting.md +++ b/blog_posts/javascript-variable-hoisting.md @@ -4,7 +4,7 @@ type: question tags: javascript,type,variable authors: chalarangelo cover: blog_images/javascript-variable-hoisting.jpg -except: One of the most commonly asked JavaScript interview questions is about hoisting. It's also a concept that might require some getting used to, so read our guide to learn more. +excerpt: One of the most commonly asked JavaScript interview questions is about hoisting. It's also a concept that might require some getting used to, so read our guide to learn more. --- Before your JavaScript code is executed, it is first parsed and compiled. During the _compile_ phase, variable and function declarations are put into memory, which is called **hoisting**.