`
鹤惊昆仑
  • 浏览: 229047 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

with-statement-considered-harmful

阅读更多
var obj ={a:1};
with(obj){
    a = 2;
    b = 3; 
}
console.log(obj.a);//2
console.log(obj.b);//undefined
console.log(window.b);//3

with-statement-considered-harmful
分享到:
评论

相关推荐

    Go To Statement Considered Harmful

    Dijkstra 在《ACM通讯》上发表了一篇题为“Go To Statement Considered Harmful”的文章,这篇文章引起了程序设计界长达数十年的争论。Dijkstra 认为 goto 语句是一种导致程序结构混乱的根源,并提出了结构化编程的...

    Gauss-Average-method-is-considered.rar_高斯平均引数

    在大地测量学中,高斯平均引数法是一种重要的数据处理方法,主要用于解决地球表面的几何定位问题。这个方法基于高斯投影理论,是解决地理坐标与平面坐标转换的关键技术之一。下面我们将深入探讨高斯平均引数法的原理...

    Modulation of periodic field on the atomic current in optical lattices with Landau-Zener tunneling considered

    朗道-齐纳隧穿(Landau-Zener tunneling,简称LZT)是一种量子力学现象,其基本原理是描述粒子在外部场作用下,通过一个势垒时能级跳跃的概率。该现象最初在半导体中被预测,并被认为是一种重要的量子现象。...

    Error-Correcting Codes - Revised, 2nd Edition.djvu

    Now, with E. J. Weldon, Jr., as his coauthor, Professor Peterson has extensively rewritten his material. The book contains essentially all of the material of the first edition; however, the authors ...

    Amdahls law for predicting the future of multicores considered harmful.pdf

    ### Amdahl定律与Gustafson定律在多核系统预测中的应用及争议 #### 摘要 本文探讨了Amdahl定律在预测多核系统未来趋势或识别可扩展性瓶颈时存在的问题,并提出了使用Gustafson定律作为替代方案的可能性。...

    A taxonomy of dirty data

    Albeit systematic approaches to categorize, detect, and avoid data quality problems exist, the special characteristics of time-oriented data are hardly considered. However, time is an important data ...

    What Every Computer Scientist Should Know About Floating-Point Arithmetic

    Floating-point arithmetic is considered an esoteric subject by many people. This is rather surprising because floating-point is ubiquitous in computer systems. Almost every language has a floating-...

    Deployment with Docker-Packt Publishing(2017).epub

    Deploying Docker into production is considered to be one of the major pain points of developing large-scale infrastructure and the documentation that you can find online leaves a lot to be desired....

    SuniantERP程序系统

    As of the writing of this README (2-19-2003) SuniantERP is considered BETA software. If you are reading this and using a > 1.0 release of ARIA then I have forgotten to remove this disclaimer. Please ...

    Off-Path TCP Exploits: Global Rate Limit Considered Dangerous

    ### Off-Path TCP Exploits: Global Rate Limit Considered Dangerous #### 概述 本文讨论了一种被称作Off-Path TCP Exploits的安全漏洞(CVE-2016-5696),该漏洞源自最新的TCP规范。该规范自2012年起在Linux内核...

    无线传能网络路由技术

    energy harvesting (EH)-cooperation-transmission is considered that operates in time switching mode. The relays also help (cooperation phase) in data transmission between the primary transmitter and ...

    Getting Started with C++ Audio Programming for Game Development

    Work with a technology that is widely considered to be the industry standard in audio middleware In Detail Audio plays a fundamental role in video games. From music to sound effects or dialogue, it ...

    ESWA的Declaration of Interest statement(利益声明)word版

    2. 如果存在可能的利益冲突,作者则需要详细列出,例如:"☐ The authors declare the following financial interests/personal relationships which may be considered as potential competing interests:" 后面会...

    gtk-engines-

    long without maintenance it is no longer as popular or considered as usable as it once was. It has been rewritten by Thomas Wood and now provides a more modern style featuring the Tango colors. ...

    Computational Finance - An Introductory Course with R

    in-depth on any one topic, and touch upon the surface of every topic I considered necessary for Computational Finance. This style of learning is reflected in the book, where the emphasis is on methods...

    second simulation of satellite signal in the solar spectrum

    non-uniform surfaces may be considered,as well as bidirectional reflectances as boundary conditions . the following input parameters are needed geometrical conditions,atmospheric model for gaseous ...

    iOS Development with Swift 全英文

    - **iPhone 4S, 5, 6, 7, 8, SE (Landscape)**: In landscape orientation, iPhones are considered Compact horizontally and Regular vertically. - **iPhone 6 Plus, 7 Plus, 8 Plus (Landscape)**: Similarly, ...

Global site tag (gtag.js) - Google Analytics