javaScript内置 8.Function 9.Object

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.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Lua 5.1 参考手册 by Roberto Ierusalimschy, Luiz Henrique de F...
    苏黎九歌阅读 14,037评论 0 38
  • 01.底妆前请先用妆前乳/隔离霜/防晒霜,任选其一,如果皮肤偏干或偏油请选择针对性的产品,比如控油妆前或保湿妆前。...
    设计师尤阅读 251评论 0 0
  • 这盛世,愿如你所愿。 盛世,一个如此温暖美好的词。那辉煌,那荣光遍布的大地,那种理所当然的归属。盛世的花开,仿佛只...
    荼蘼花事阅读 190评论 0 1
  • 总结一下关于日期格式的问题汇总。 1.把字符串转化为任意日期时间格式 连接到上面的代码 2.关于NSDateFor...
    Dylan_Yu阅读 1,284评论 1 6