zoukankan      html  css  js  c++  java
  • javascript基础 之 保留关键字

    1,保留关键字

        意思是:特定的字符串要么是已经有指代了要么是未来将要有指代,所以取名字不要用保留关键字里的字符串

    js保留关键字

    abstract arguments boolean break byte
    case catch char class* const
    continue debugger default delete do
    double else enum* eval export*
    extends* false final finally float
    for function goto if implements
    import* in instanceof int interface
    let long native new null
    package private protected public return
    short static super* switch synchronized
    this throw throws transient true
    try typeof var void volatile
    while with yield

    js中的对象属性和方法:

    Array Date eval function hasOwnProperty
    Infinity isFinite isNaN isPrototypeOf length
    Math NaN name Number Object
    prototype String toString undefined

    valueOf

    java保留关键字

    getClass java JavaArray javaClass JavaObject JavaPackage

    windows保留关键字

    alert all anchor anchors area
    assign blur button checkbox clearInterval
    clearTimeout clientInformation close closed confirm
    constructor crypto decodeURI decodeURIComponent defaultStatus
    document element elements embed embeds
    encodeURI encodeURIComponent escape event fileUpload
    focus form forms frame innerHeight
    innerWidth layer layers link location
    mimeTypes navigate navigator frames frameRate
    hidden history image images offscreenBuffering
    open opener option outerHeight outerWidth
    packages pageXOffset pageYOffset parent parseFloat
    parseInt password pkcs11 plugin prompt
    propertyIsEnum radio reset screenX screenY
    scroll secure select self setInterval
    setTimeout status submit taint text
    textarea top unescape untaint window

    html事件句柄

    onblur onclick onerror onfocus
    onkeydown onkeypress onkeyup onmouseover
    onload onmouseup onmousedown onsubmit
  • 相关阅读:
    go语言教程零基础入门到精通
    php探针文件内容
    一篇文章揭穿创业公司的套路
    Google资深工程师深度讲解Go语言面向接口(五)
    完全解析<atlalloc.h>
    巧妙的Section — — 剖析ATL OBJECT_MAP的自动建立
    ATL中的各种CriticalSection
    C++中的INL
    如何剖析一个类
    ATL线程模型解析
  • 原文地址:https://www.cnblogs.com/0-lingdu/p/9811345.html
Copyright © 2011-2022 走看看