摘要: 题目: Part of Series 1/3 This kata is part of a series on the Morse code. After you solve this kata, you may move to the next one. 系列的一部分,1/3 这个形是莫尔斯电码系 阅读全文
posted @ 2017-08-19 18:19 tong24 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 题目: A square of squares You like building blocks. You especially like building blocks that are squares. And what you even like more, is to arrange the 阅读全文
posted @ 2017-08-19 17:34 tong24 阅读(376) 评论(0) 推荐(0) 编辑
摘要: javascript面试题:如何把一句英文每个单词首字母大写? js中prototype用法 阅读全文
posted @ 2017-08-17 16:50 tong24 阅读(583) 评论(0) 推荐(0) 编辑
摘要: 字符串中筛选某个字符串 阅读全文
posted @ 2017-08-17 15:01 tong24 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 题目: Generators can be used to wonderful things. You can use them for numerous things, but here is one specific example. You are studying for a test so 阅读全文
posted @ 2017-08-16 17:15 tong24 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 官网:http://www.css88.com/doc/webpack2/concepts/ webpack是js的模块打包器(module bundler)。 入口(Entry) webpack将创建所有应用程序的依赖关系图标(dependency graph)。 入口起点(entry point 阅读全文
posted @ 2017-08-16 16:07 tong24 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 全局变量:启动脚本了.在各线程,以及主程序中.可以互相传递值.每次启动脚本,初始值都一样.环境变量:启动脚本了.在各线程,以及主程序中.可以互相传递值.每次启动脚本,初始值是上次停止脚本时的值. 例子:Global 全局变量Dimenv 环境变量全局变量 = 全局变量 + 1环境变量 = 环境变量 阅读全文
posted @ 2017-08-14 19:26 tong24 阅读(1278) 评论(0) 推荐(0) 编辑
摘要: 开发步骤 1、下载node 2、下载webpack npm install webpack -g 3、安装脚手架 npm install vue-cli -g 4、根据模板创建项目 simple 完全没用 webpack-simple 用他 webpack 有校验 browserify-simple 阅读全文
posted @ 2017-08-08 16:16 tong24 阅读(1220) 评论(0) 推荐(0) 编辑
摘要: Sass官网: http://www.w3cplus.com/sassguide/ sass: 预处理语言; Ruby语言,即使不懂Ruby,也是可以使用sass 文件后缀名 文件后缀名 sass有两种后缀名文件:一种后缀名为sass,不使用大括号和分号;另一种就是我们这里使用的scss文件,这种和 阅读全文
posted @ 2017-08-08 13:58 tong24 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 题目: 【JS排序】var str = "1245242"; //这是数组 要求从出现次数多到少排序示例结果:2:3,4:2,1:1,5:1【2出现3次,4出现2次...】 答案: 阅读全文
posted @ 2017-08-08 13:00 tong24 阅读(153) 评论(0) 推荐(0) 编辑