上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页
摘要: 下述几段代码,是看b站上莫凡的视频学习的: 例2: Session会话控制: placeholder: 例3 build a neural network(输入层1个节点,隐藏层10个节点,输出层1个节点) 可视化: 阅读全文
posted @ 2019-04-03 21:31 Johnny、 阅读(684) 评论(0) 推荐(0) 编辑
摘要: JSON JavaScript 对象表示法(JavaScript Object Notation) 是一种存储数据的方式。 创建并访问JSON对象 var gareen = {"name":"盖伦","hp":616}; 这样就创建了一个JSON 对象 JSON对象由 名称/值对组成 名称和值之间用 阅读全文
posted @ 2019-04-02 08:41 Johnny、 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 浏览器上常见的弹出框有 警告框,确认框,提示框 这些都是通过调用window的方法实现的。 比如警告框用的是window.alert("警告内容"),因为很常用,所以就把window省略掉,直接使用alert alert警告框 警告框 alert,常用于消息提示,比如注册成功等等 confirm确认 阅读全文
posted @ 2019-04-02 02:32 Johnny、 阅读(1080) 评论(0) 推荐(0) 编辑
摘要: BOM即 浏览器对象模型(Browser Object Model) 浏览器对象包括 Window(窗口) Navigator(浏览器) Screen (客户端屏幕) History(访问历史) Location(浏览器地址) Window(窗口) Navigator Navigator即浏览器对象 阅读全文
posted @ 2019-04-02 02:03 Johnny、 阅读(1505) 评论(0) 推荐(0) 编辑
摘要: 数组 javascript中的数组是动态的,即长度是可以发生变化的。 练习 日期 JavaScript使用Date对象表示日期 Math Math是JavaScript的工具对象,用于常见的数学运算 自定义对象 在JavaScript中可以自定义对象,添加新的属性,添加新的方法 通过new Obje 阅读全文
posted @ 2019-04-02 01:25 Johnny、 阅读(360) 评论(0) 推荐(0) 编辑
摘要: JavaScript中的对象是有着属性和方法的一种特殊数据类型。 常见的对象有数字Number,字符串String,日期Date,数组Array等。 Number 练习 String 练习 阅读全文
posted @ 2019-04-01 22:00 Johnny、 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 练习一 练习二 练习三 阅读全文
posted @ 2019-03-31 23:48 Johnny、 阅读(788) 评论(0) 推荐(0) 编辑
摘要: As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some ro 阅读全文
posted @ 2019-03-01 17:56 Johnny、 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which cou 阅读全文
posted @ 2019-03-01 00:51 Johnny、 阅读(603) 评论(0) 推荐(0) 编辑
摘要: Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operations include Push ( 阅读全文
posted @ 2019-02-28 02:12 Johnny、 阅读(432) 评论(0) 推荐(1) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页