1. Object Oriented
Object-oriented: a class obtained by the function package
Nature or function of a class: Remarks
1. Each class (function) has a natural property of a prototype, this prototype is an object
This object has a constructor (the constructor) is a class attribute value of the attribute itself
- All of our new class, when in fact it is to call the constructor, the constructor is private property, constructor of this is an instance of an object,
- On each object has a natural __proto__, point to the class prototype
Prototype and __proto__
- prototype is a class or function, the __proto__ is subject
- Prototype is a storage mechanism for programmers to implement, __proto__ is to find the mechanism (a browser)
Zhangsan.name
zhangsan this object first look at the name is private it is the direct use not just by __proto__ to its class prototype the look, there are the direct use not just keep looking up, until you find the base class Object no is undefined there is direct using this lookup mechanism called the prototype chain
Special Function
- class
- function
- Objects
- Each object is born with a return value, return what is is, what if no return is undefined
Dos command
- Window open command window + r input cmd
- In the corresponding file hold down the shift right-click the mouse to find the open command window here
instruction
- View network information command ipconfig
- Terminal modification instruction background and color Color help view the color configuration Color 5 representative of the background color of the terminal 6 on behalf of font color,
- Create a folder md
md folder name md aa
- Edit folder command ren oldaname newname ren aa dd
- Cls clear the current terminal
- Ctrl + c to terminate the current program
- Cd into the folder command cd name
- cd .. go back one level
- dir view the current file and folder directory
- Del Delete files can only delete files can not be deleted folders
- Rd delete folders command
- Tab retrieves the corresponding file
- A copy instruction ↑
Installation phpstudy Integrated Development Environment
Network address structure
\https://www.baidu.com/
A network address: there is an agreement http / https + domain www.baidu.com/172.16.26.59+ port ( 80 can save)
http://127.0.0.1:8088
Why you do not need to install front-end environment?
For html css js browser runtime environment give these things can be run directly in the browser but would not be such a background language: PHP the Java Python , etc. will not work is because the browser is not their environment have to install the corresponding operating environment
http://127.0.0.1:8088/8.5/index.html?name=zhang#aa
/ Call path path? Query parameter # hash value