操作符之间的优先级(高到低):算术操作符 》比较操作符 》逻辑操作符 》"="赋值符号

算术运算符

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsgAAADhCAIAAABa9dT2AAAVeklEQVR4nO3dzXnjOLeFUSSFeYWCJDoFZtBJMBjOHIdC6B5YRYHEL3Ug6RzoXYPvsWVKzetdADZBydf9BwAAMIj777//VgAAALFHsfiBBSQFCDGIpkGUClEs7CEpQIhBNA2iVIhiYQ9JAUIMomkQpUIUC3tIChBiEE2DKBWiWNhDUoAQg2gaRKkQxcIekgKEGETTIEqFKBb2kBQgxCCaBlEq1C4WzjnnXPOF0sOyTzw92PniiFUGknPun3/++Tn+Ypu/cxd5yRkDytQHUXYgMEB06o+SBN+ma8diz8MlTsfEj2ePjB/5999/Ky+IkmaxSH+r9QF2iuylJw9o0JzuSnNX5TCGz0cIi0UpR9KUGHMrJF2ZsmtV/ODeKn5Yzy4S7lhkn8XvH1+luUF7GkF7Xy+9IIPoUzqjLJWGnq9x1cj3WFD63iOb1BO/c/LC1xpbLBg4H1SZD386ukJpGiRTiUax2H+/f/78af7q0yRK2TSfiArJrZDO4IC51ae7+OvfAVUpFgyfz2peaJ0ezB5Z/xpX9b7H4s+fP/G3lQGWXc8qr1Z5QWR1Fouf8psn0vFDBPgq9R2LeOBQLJQb++7A+uKFTpeLReXXnf6o9EjP/gdKOt939tNRLPj94ztJikV9KWIcvZnw84zCpyDrWrGIf+9pBs0x5v6+Z5MdC4n61l//p0JOE+UPQeBr9BSLeECxY6FW81ZIdkpMD2tOm+h3oVh0LlenJ6bBxK9WOQwlY2+FpN8C0+u5zI2HD8VCrZ6PHTSXG/rEWM+8xyJ+PF636tJXKy17qKNYAEKXikX22+bjeI/mreFTKUzzak6YuKr3L292/qLr+e2PcytEQvgHsi4FCkzp0sdNTz8qPQUf0fyAz0/u0rdyWPZHuKTr46bx16WEfq4U/NNbQcnvkvqcmN2zzU6XzUCBWV26jiqNDkaNBkNuhTR/hEv4f0JmD0kBQ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lJeGyDQJgh/+EzBv6aIAiA4CEYOENfTRAkQFAQrDwhj4aoMgAICFYeEMfDVBkAJAQLLyhjwYoMgBICBbe0EcDFBkAJAQLb+ijAYoMAJIsWAAAABzEioUr9NEARQYACcHCG/pogCIDgIRg4Q19NECRAUBCsPCGPhqgyAAgIVh4Qx8NUGQAkBAsvKGPBigyAEgIFt7QRwMUGQAkBAtv6KMBigwAEoKFN/TRwIYiTzGEEA16suWJQggXbw2A+1IEi3kcTA6MOMU5wWIehzCM8wmP5JJ6sNgOnik2mpaGiU6woPsADtCsWEyRYPE5CBYGtIPFfOi0n3DJEwQLANchWHhT7+Njqhhj+JF0dB6Hn2ufs0lyzetKvCgHS3phHoek6lM8UNdiGSRbpxAGa2haP3zW/WzniVMRO/KL650JwN0QLLyRg0Uxrz0vJH8mf/OetUk3WMqBswSCNArk03gW++Sb0gfIn0Xx2UuRJCqrF5XoEPKIVA8W2S18hArcFcHCm9aKxXoyqFwfp/X9kdsXLJ5lHU4o7ZIsVtN3f7TuChaai8UpHvM4sAsBd0Sw8OZwsKhdj9zeYFEp7K4ViyVQrCfvzmh9xIjQPpFzf7AQthbAnRAsvGHFwsCRFYsYW9/dUJMeShUsqn/kj318xQLATfE7Ft5sCxbSORbZ1SgpB0sxyVfPsTiwEbGyJNDMFdWFikqwKLpfpszs1imG7KTf7MOQaSJnAPfD71h4szVYSCfyv67lXeiKdrAk0/yJ3wqpP1f5hKVagBCvz7q/Xr5KPvSIo/StEHYd4KZYsfCGPhpQF/nCVF45N1JeCZFSRfsmANiBYOENfTTwC37SexUi5CeqRodlVeH0LQNwcwQLb+ijAYoMABKChTf00QBFBgAJwcIb+miAIgOAhGDhDX00QJEBQEKw8IY+GqDIACAhWHhDHw1QZACQECy8oY8GKDIASLJgAQAAcNAzWAAAAJzif0d2wrsf7mZsAAAAAElFTkSuQmCC" alt="" />

数组

1.创建的新数组是空数组,没有值,如输出,则显示undefined。

2.虽然创建数组时,指定了长度,但实际上数组都是变长的,也就是说即使指定了长度为8,仍然可以将元素存储在规定长度以外。

substring() 方法用于提取字符串中介于两个指定下标之间的字符

stringObject.substring(starPos,stopPos)

注意:

1. 返回的内容是从 start开始(包含start位置的字符)到 stop-1 处的所有字符,其长度为 stop 减start。

2. 如果参数 start 与 stop 相等,那么该方法返回的就是一个空串(即长度为 0 的字符串)。

3. 如果 start 比 stop 大,那么该方法在提取子串之前会先交换这两个参数。

substr() 方法从字符串中提取从 startPos位置开始的指定数目的字符串

stringObject.substr(starPos,stopPos)

注意:

如果参数startPos是负数,从字符串的尾部开始算起的位置。也就是说,-1 指字符串中最后一个字符,-2 指倒数第二个字符,以此类推。

如果startPos为负数且绝对值大于字符串长度,startPos为0。

sort()方法使数组中的元素按照一定的顺序排列

arrayObject.sort(方法函数)

参数说明:

1.如果不指定<方法函数>,则按unicode码顺序排列。

2.如果指定<方法函数>,则按<方法函数>所指定的排序方法排序。

注意:

该函数要比较两个值,然后返回一个用于说明这两个值的相对顺序的数字。比较函数应该具有两个参数 a 和 b,其返回值如下:

  若返回值<=-1,则表示 A 在排序后的序列中出现在 B 之前。

  若返回值>-1 && <1,则表示 A 和 B 具有相同的排序顺序。

  若返回值>=1,则表示 A 在排序后的序列中出现在 B 之后。

事件冒泡解释

即事件最开始由最具体的元素(文档中嵌套层次最深的那个结点)接收,然后逐级向上传播至最不具体的那个结点(文档)

事件捕获解释

不太具体的结点应该更早接受到事件,而最具体的结点最后接受到事件。

事件处理程序类别

1.html事件处理程序,直接html中添加事件

<div class="up_out" onclick="alert()">点击</div>

2.DOM0级事件处理程序,id获取元素,绑定事件

document.getElementById('').onclick=function(){}

3.DOM2级事件处理程序,addEventListener()和removeEventListener(),有浏览器兼容问题

document.getElementById('').addEventListener('click',function(){})

4.问题IE6-8:attachEvent()和decachEvent(),参数问题要区分onclick

document.getElementById('').attachEvent('onclick',function(){})

5.跨浏览器  重点:element.onclick===element[onclik]

var eventUtil={
// 添加句柄
addHandler:function(element,type,handler){
if(element.addEventListener){
element.addEventListener(type,handler,false);
}else if(element.attachEvent){
element.attachEvent('on'+type,handler);
}else{
element['on'+type]=handler;
}
},
// 删除句柄
removeHandler:function(element,type,handler){
if(element.removeEventListener){
element.removeEventListener(type,handler,false);
}else if(element.detachEvent){
element.detachEvent('on'+type,handler);
}else{
element['on'+type]=null;
}
},
getEvent:function(event){
     //IE兼容
return event?event:window.event;
},
getType:function(event){
return event.type;
},
getElement:function(event){
return event.target || event.srcElement;
},
preventDefault:function(event){
if(event.preventDefault){
event.preventDefault();
}else{
event.returnValue=false;
}
},
stopPropagation:function(event){
if(event.stopPropagation){
event.stopPropagation();
}else{
event.cancelBubble=true;
}
}
}

javascript重点笔记的更多相关文章

  1. JavaScript 重点笔记

    JavaScript 重点笔记 ## 数组 // 必须掌握 - arr.length:获取数组元素的长度 - arr.splice(起始位置,长度):从数组中添加或删除元素. - arr.indexO ...

  2. javascript高级笔记——内含事件,DOM,BOM等

    JavaScript高级笔记 1,DOM的简单学习 1.1,功能:用于控制HTML文档的内容: 1.2,获取页面标签对象:Element *document.getElementById(" ...

  3. 《编写可维护的JavaScript》 笔记

    <编写可维护的JavaScript> 笔记 我的github iSAM2016 概述 本书的一开始介绍了大量的编码规范,并且给出了最佳和错误的范例,大部分在网上的编码规范看过,就不在赘述 ...

  4. Javascript学习笔记四——操作表单

    Javascript学习笔记 大多网页比如腾讯,百度云之类的需要登陆,用户输入账号密码就可以登陆,那么浏览器是如何获取用户的输入的呢?今天就记录一下操作表单. 操作表单与操作DOM是差不多的,表单本身 ...

  5. Javascript学习笔记三——操作DOM(二)

    Javascript学习笔记 在我的上一个博客讲了对于DOM的基本操作内容,这篇继续巩固一下对于DOM的更新,插入和删除的操作. 对于HTML解析的DOM树来说,我们肯定会时不时对其进行一些更改,在原 ...

  6. Javascript学习笔记二——操作DOM

    Javascript学习笔记 DOM操作: 一.GetElementById() ID在HTML是唯一的,getElementById()可以定位唯一的一个DOM节点 二.querySelector( ...

  7. Java编程思想重点笔记(Java开发必看)

    Java编程思想重点笔记(Java开发必看)   Java编程思想,Java学习必读经典,不管是初学者还是大牛都值得一读,这里总结书中的重点知识,这些知识不仅经常出现在各大知名公司的笔试面试过程中,而 ...

  8. C++编程思想重点笔记(下)

    上篇请看:C++编程思想重点笔记(上) 宏的好处与坏处 宏的好处:#与##的使用 三个有用的特征:字符串定义.字符串串联和标志粘贴. 字符串定义的完成是用#指示,它容许设一个标识符并把它转化为字符串, ...

  9. JavaScript基础笔记二

    一.函数返回值1.什么是函数返回值    函数的执行结果2. 可以没有return // 没有return或者return后面为空则会返回undefined3.一个函数应该只返回一种类型的值 二.可变 ...

随机推荐

  1. Android JNI入门第四篇——Android.mk文件分析

    ndroid.mk文件是在使用NDK编译C代码时必须的文件,Android.mk文件中描述了哪些C文件将被编译且指明了如何编译.掌握Android.mk文件的编写主要是掌握其里头将要使用的一些关键字, ...

  2. CSS样式表基础知识、样式表的分类及选择器

    一.CSS基本概念: CSS(Cascading Style Sheet,叠层样式表),作用是美化HTML网页. /*注释区域*/    此为注释语法 二.样式表的分类 1.内联样式表(和html联合 ...

  3. Java跨域以及实现原理

    最近研究了一下跨域,没接触之前我的印象就是配合单点登录的一种方式,后来在网上看到资料才知道不仅仅是这一种,用法很多,具体的可以去网上搜索. 一个众所周知的问题,Ajax直接请求普通文件存在跨域无权限访 ...

  4. TextView实现多个TextView对象的走马灯效果

    1:自定义一个控件继承TextView,重写isFocused方法,返回值为true; package com.example.helloandroid; import android.R.bool; ...

  5. java反射机制入门04

    需要jxl.jar package com.rainmer.main; import java.io.File; import java.io.IOException; import java.uti ...

  6. The Power of Reading——英语学习小技巧之七

    This method is "The Power of Reading" and it comes from an article by Dr.Stephen Krashen. ...

  7. Hadoop平台安装前准备

    集群配置 准备工作 1.  Iptables #chkconfig iptables –list #chkconfig iptables –level 3456off #service iptable ...

  8. ASP.NET jQuery 随笔 从DropDownList获取选择的text和value值

    jQuery来获取DropDownList的Text/Value属性值,代码如下 <%@ Page Language="C#" AutoEventWireup="t ...

  9. qt 操作word

    //修改doc QString filepath="e:\\aa.doc"; QAxWidget *word = new QAxWidget("Word.Applicat ...

  10. QT5下获取本机IP地址、计算机名、网络连接名、MAC地址、子网掩码、广播地址

    获取主机名称 /* * 名称:get_localmachine_name * 功能:获取本机机器名称 * 参数:no * 返回:QString */ QString CafesClient::get_ ...