javascript - Small issues between Object and vue
大家讲道理
大家讲道理 2017-06-12 09:29:04
0
3
792

Question: I extended the prototype of Object and found that it could not be extended. Is it because vue has already done underlying processing on the prototype of Object?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
曾经蜡笔没有小新

Just click on it, no.

洪涛

How is it possible? The object is the constructor that comes with the browser and belongs to the scripting language. Vue is a js script development framework. Because it integrates styles and DOM, and can also be developed in a modular manner, it is very powerful, but it is also developed based on the browser interface. The bottom layer you are talking about should be the bottom layer of the framework. Object is the object of language. Vue is based on this. Listening to other people’s explanations is not as good as sitting down and trying it yourself.

習慣沉默

It is not a good idea to directly extend the prototype of Object. This is a trap.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template