Introduction to JavaScipt
来源:互联网 发布:2016上海程序员工资 编辑:程序博客网 时间:2024/06/06 03:44
1. What can we use JavaScript for?
- make websites respond to user interaction
- build apps and games (e.g.blackjack)
- access information on the Internet (e.g. find out the top trending words on Twitter by topic)
- organize and present data (e.g. automate spreadsheet work; data visualization)
2. SKILLs
// comments
confirm("Thank you!"); ——弹出对话框
prompt("How old are you?"); ——提示输入
console.log("string");——打印[strings]到控制台窗口
comparisons: >, <, >=,<=,===,!==. ——注意“不等于”和“等于”的表示符号
"strings".substring(start, end); ——提取子字符,字符串从0开始计数
var name=value; ——定义变量,变量名大小写敏感
(完)
0 0
- Introduction to JavaScipt
- javascipt
- javascipt
- Introduction to CGI Variables
- Introduction to Rave Reports
- Introduction to RSS
- Introduction to NMock
- An Introduction to Struts
- Links:Introduction To TDD
- Introduction to Smartphone
- Introduction to C# interface
- 第一章: Introduction to Objects
- Introduction to IoC
- An introduction to LaTeX2e
- About Introduction to Algorithms
- Introduction to MySQL Cluster
- Introduction To Alpha Blending
- An Introduction To Ajax
- 解决:无法检索“mvc4.Models.Movie”的元数据。The connection string in the application's configuration file does no
- JS实践与写博客-序
- 树类的定义和遍历
- asp获取当前页面url
- hive partition简介
- Introduction to JavaScipt
- asp语言中if判断语句的求助
- 黑苹果硬件支持列表【最新】2013.12
- 算法之旅,直奔<algorithm>之八 copy_n
- MyEclipse 快捷键
- MyEclipse 创建maven webProject
- 使用Spring的Quartz方式实现Java定时器功能
- oracle 数据库审计
- C++之一些事一些情--函数传参