- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 JavaScript权威指南学习笔记(一)2
第3章 类型、值和变量文本字符串的使用var s = "hello, world" // Start with some text. s.charAt(0) // => "h": the first character. s.charAt(s.length-1) // => "d": the last character. s.substrin
2017-06-20 19:40:58
619
原创 JavaScript权威指南学习笔记(一)
第3章 类型、值和变量 JavaScript有两个特殊的的原始值,null和undefined JavaScript除了数字,字符串、布尔值、null和undefined之外的就是对象 数字-JavaScript不区分整数值和浮点数。JavaScript中的所有数字均用浮点数表示。整数型直接量 十进制整数 十六进制值,以“0x”或“OX”为前缀,其后跟随十六进制数串 ECMAScript标准不支持八
2017-06-16 09:43:39
446
原创 freecodecamp json APIs and Ajax
Change Text with Click Events -on(), 向元素添加事件处理程序 $(document).ready(function() { $("#getMessage").on("click", function(){ $(".message").html("Here is the message"); }); });
2017-05-27 13:44:23
443
原创 freecodecamp JavaScript学习(四)
Reverse a Stringfunction reverseString(str) { //covert string to an array //var strArray=str.split(''); //reverse the new array //strArray.reverse(); //join the array to a string //return
2017-05-23 14:17:06
496
原创 freecodecamp JavaScript学习(三)
Make Object Properties Private -var 定义私有属性,方法, this定义公共属性,方法 var Car = function() { // this is a private variable var speed = 10; // these are public methods this.accelerate = function(change)
2017-05-22 15:05:46
495
原创 freecodecamp JavaScript学习(二)
Accessing Objects Properties -使用”.”,”[]”来选择对象的属性,如果对象的属性名中 有空格,则必须使用[]方法来选择属性 `var testObj = { “an entree”: “hamburger”, “my side”: “veggies”, “the drink”: “water” }; var entreeValue = testObj
2017-05-22 11:53:22
638
原创 freecodecamp JavaScript学习(-)
freecodecamp JavaScript学习 Understanding Uninitialized Variablesjavascript变量未初始化时,初始值为underfined 如果对未初始化的变量进行加减乘除时,得到的值为:NaN,not a number 如果对为初始化的变量进行字符串拼接时,得到的值为一串字符串:“undefined” Convert Celsius to Fah
2017-05-17 14:11:43
556
深入浅出Oracle_EBS之Forms开发指南.
2014-08-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅