[00:00] intro - voice 025 > "js-int-q1-intro"
- hi everyone, my name is Don Sagrott and this is "my javascript interview".
- i am going to try and answer 5 very important javascript "key concept" type interview questions with a demonstration of each of my answers in javascript code.
- at the end of this video series i hope to have a small working javascript application that you can use to remind yourself of these fundamental js concepts and to add more of your own concepts that you would like to learn.
- i will include links to my github for the application source code in the description below this video as well as links to some more articles that explore each of these topics in more depth.
- the questions I am going to cover fall into 1 of the 5 following categories - #1] oop in js, 2] prototypal inheritance , 3] understanding context and this, 4] using call apply and bind and 5] using closures
- i will try to keep each answer and code demo for the questions to < 5 minutes .... and in the final segment, I will add some polish to the finished app
[01:30] question 1 - objects
> QUESTION 1- Show me how to create a new object in javascript using a constructor function, make sure that the object has at least 1 method. Then demonstrate that the object is functional.
[05:00 ] question 2 - prototypal inheiritance
- hi everyone, my name is Don Sagrott and this is "my javascript interview" part 2.
In this episode we are going to take a quick look at the topic of prototypal inheritance.
So lets get started by answering this question.
> QUESTION 2 -Create a new object that inherits from the object you created in the previous question. Use prototypal inheritance to inherit the original objects properties and methods in the new object. Explain some of the benefits of using prototypal inheirtance VS classical inheiritance.
question 3 - this
- hi everyone, my name is Don Sagrott and this is "my javascript interview" part 3.
In this episode we are going to take a quick look at the topic of context in javascript, and the use of the .this keyword
> QUESTION 3 what is this?, why do you need it?
question 4 - call, apply and bind
- hi everyone, my name is Don Sagrott and this is "my javascript interview" part 4
- In this episode we are going to take a quick look at the .call, .apply and .bind methods javascript and the how, when and where we "apply" them.
> QUESTION 4 is
demo call()
demo apply()
demo bind()
question 5 - closures
- hi everyone, my name is Don Sagrott and this is "my javascript interview" part 5
- In this episode we are going to take a quick look at the topic of closures, what they are how we use them.
> QUESTION 5 is
closing
- thanks for checking out this video series, please be sure to like (if you like) and subscribe (if you want to see more of) these videos.
<!--
] REPLACED
var p = document.createElement("p");
var pText = document.createTextNode("text for the paragraph");
body.appendChild(p);
] REPLACED
nextQuestion(index+1) w/concepts[index+1].show()
-->
EDITORS
- windows movie - doesnt support .swf files
- youtube online editor - can add audio, FROM their list of youtube audio, BUT cant add your own audio
- OPTIONS -
ID: 5415
NAME: CREATE-video
DESCRIPTION: my javascript interview - a video of me writing a javascript program that explains javascript concepts
START DATE TIME: 2015-07-31 10:51:46
EST DURATION: 01:00:00
END DATE TIME: 2015-07-31 11:51:46
STATUS: To-Do
PRIORITY: -5
OWNER ID: 75