Home  >  Article  >  Web Front-end  >  8 days to learn javascript video tutorial materials (courseware, source code) sharing

8 days to learn javascript video tutorial materials (courseware, source code) sharing

黄舟
黄舟Original
2017-12-04 11:22:551189browse

"Video Tutorial on Learning JavaScript in 8 Days" This is a course to help you systematically learn the JavaScript programming language. This course introduces the language features of JavaScript from the shallower to the deeper, and analyzes common misunderstandings with practical examples to inspire your thinking and help you learn. Improve your JavaScript skills from beginner to master.

8 days to learn javascript video tutorial materials (courseware, source code) sharing

Course playback address: http://www.php.cn/course/206.html

The teacher’s teaching style:

The teacher’s lectures are vivid, witty, witty, and touching. A vivid metaphor is like the finishing touch, opening the door to wisdom for students; an appropriate humor brings a knowing smile to students, like drinking a glass of mellow wine, giving people aftertaste and nostalgia; a philosopher's aphorisms, cultural references Proverbs are interspersed from time to time in the narration, giving people thinking and warning.

The more difficult point in this video is the javascript object:

1. How to understand the objects in js

 1. Abstract perspective: for reality An abstraction of concrete things.

 2. Data perspective: Gather unnecessary variables together.

2. Characteristics of objects: achieved by setting the defineProperty method of Object

Object.defineProperty (param1, param2, param3) param1 is the object that needs to define properties. param2 is the attribute name that needs to be defined or modified. param3 is the descriptor of the attribute that needs to be defined or modified.

 1. Configurability: configurable (true/false) The default value is true, indicating whether the attribute can be deleted

var person = {
           name: "zhangsan",
           age: 21,
           sayName: function() {
               console.log(this.name);
           }
       };

       Object.defineProperty(person, "name", {
           configurable: false
       });

false means it cannot be deleted, so it can still print zhangsan

The print result is: zhangsan, 21

Here we also recommend downloading source code resources: http://www.php.cn/xiazai/learn/2111

The resources share with you the video courseware and source code

The above is the detailed content of 8 days to learn javascript video tutorial materials (courseware, source code) sharing. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn