Exploring language additions to the V8 JavaScript engine


show more Exploring language additions to the V8 JavaScript engine provides you with in-depth training on Developer. Taught by Joseph LeBlanc as part of the Node.js Essential Training (2013) show less
please wait ...

Exploring language additions to the V8 JavaScript engine

Node adds a few functions and objects not typically available in web browers. It also removes a few that you may be familar with. Let's have a look at some of these adaptations. Right now, I have a terminal window on the left and I also have a copy of Google Chrome on the right. In Google Chrome, I'm going to open up the JavaScript Console. And to do that, I'm going to go to View and Developer, and then JavaScript Console. So now we have a prompt where we can run and evaluate JavaScript code. I'm going to do the same in Terminal.

So to do that, I'm just going to type in Node and then Return. Let's start doing some comparisons. There are a few variables that you may be familiar with from the web browser. There's window, location, and document. The window object has functions and attributes that have to do with the window that's being drawn on the screen. And similarly, the location object has all the information about the URL that we've loaded. And then finally, there&...

Exploring language additions to the V8 JavaScript engine
Video duration: 3m 38s 3h 17m Intermediate

Viewers:

Exploring language additions to the V8 JavaScript engine provides you with in-depth training on Developer. Taught by Joseph LeBlanc as part of the Node.js Essential Training (2013)

Subject:
Developer
Software:
JavaScript Node.js
Author:
please wait ...