美文网首页
javaScript内置 8.Function 9.Obje

javaScript内置 8.Function 9.Obje

作者: 咘噜咘噜咘 | 来源:发表于2018-01-12 16:24 被阅读4次

8.Function
属性:
arguments An array corresponding to the arguments passed to a function.
arity Indicates the number of arguments expected by the function.
caller Specifies which function called the current function.
prototype Allows the addition of properties to a Function object.
办法:
toString Returns a string representing the specified object.

9.Object
属性:
constructor Specifies the function that creates an object's prototype.
prototype Allows the addition of properties to all objects.
方法:
eval Evaluates a string of JavaScript code in the context of the specified object.
toString Returns a string representing the specified object.
unwatch Removes a watchpoint from a 属性流 the object.
valueOf Returns the primitive value of the specified object.
watch Adds a watchpoint to a 属性源 the object.

相关文章

网友评论

      本文标题:javaScript内置 8.Function 9.Obje

      本文链接:https://www.haomeiwen.com/subject/mamfoxtx.html