-
Crockford on JavaScript – Chapter 2: And Then There Was JavaScript
Yahoo!’s JavaScript architect Douglas Crockford surveys the features of the JavaScript programming language. Original source
-
Bootstrap’s Grid System – DIY Twitter Clone #5.2
[ad_1] https://i.ytimg.com/vi/v4ln2H1vDXs/hqdefault.jpg Today we will be learning about responsive grid, panels and containers. We will implement the aforementioned in our Ruby on Rails Twitter clone, in particular we will build the front end for the “home” and “profile” pages. After this tutorial, your “home” and “profile” pages will look near identical to Twitter’s own! Download…
-
Prototype basics – Object Creation in JavaScript P3 – FunFunFunction #46
We’ll go through the absolute basics of the prototype in this video. I’m going to explain why you should learn prototypes, and how they work. Complete series playlist: “Object creation in JavaScript” https://goo.gl/ELUE4B You’re probably used to doing inheritance with classes. JavaScript achieves inheritance using prototypes. The real-world analogy used when teaching classes is a…
-
__proto__ vs prototype – Object Creation in JavaScript P5 – FunFunFunction #52
We explore the __proto__ property on JavaScript Objects, and how it relates to the normal prototype. Basically, the .__proto__ property points to the object that the current object actually will use when doing lookups on the prototype chain, while “.prototype” only exists on functions, in case you want to use those objects as constructors passed…
-
The ‘new’ keyword – Object Creation in JavaScript P4 – FunFunFunction #50
We explore the new keyword in JavaScript works when applied to functions. This is the old school way of faking classes in JavaScript, prior to the class keyword being introduced in ES6. (We are going to be looking at the JavaScript ES6 class keyword later in this series) # Stuff mentioned in the video: •…
-
JavaScript Video Tutorial – Finding Items in an Array
This video shows you an example of using the two provided methods in JavaScript, indexOf and lastIndexOf, to find items in an array. Original source
-
Object.create – Object Creation in JavaScript P6 – FunFunFunction #57
The Object.create() method in JavaScript creates a new object with the specified prototype object and properties. I walk through what it is, why Object.create exists in JavaScript, and how to use Object.create. ⏯ Highlights 00:20 What is Object.create in JavaScript 06:32 Why does JavaScript have Object.create 09:54 Lunch walk with musing on focus and side…
-
Arrow functions in JavaScript – What, Why and How – FunFunFunction #32
Arrow functions are (pretty much) a shorter function syntax in JavaScript. Because of their extreme terseness, arrow functions allows us to use use functions in a new way, making lots of functions that are small, inline and single-purpose. Table of contents: 00:18 ► What are arrow functions in JavaScript 00:53 ► Why use arrow functions…
-
Prototype basics – Object Creation in JavaScript P3 – FunFunFunction #46
We’ll go through the absolute basics of the prototype in this video. I’m going to explain why you should learn prototypes, and how they work. Complete series playlist: “Object creation in JavaScript” https://goo.gl/ELUE4B You’re probably used to doing inheritance with classes. JavaScript achieves inheritance using prototypes. The real-world analogy used when teaching classes is a…
-
Generators in JavaScript – What, Why and How – FunFunFunction #34
Generators are (kind of) pausable functions in JavaScript. Another word for them is co-routines. They are used (among other things) to manage async operations, and play very well with promises. I’m also active on: ► Twitter https://twitter.com/mpjme ► Medium https://medium.com/@mpjme ► Quora https://www.quora.com/profile/Mattias-Petter-Johansson Resources: ► Recursion in JavaScript ► Promises in JavaScript ► ES6 JavaScript…