随笔分类 -  js/html/css/vue

摘要:confirmEnding("Bastian", "n") 应该返回 true. confirmEnding("Bastian", "n") 应该返回 true. confirmEnding("Bastian", "n") 应该返回 true. confirmEnding("Connor", "n" 阅读全文
posted @ 2017-09-15 17:18 spectrelb 阅读(2599) 评论(0) 推荐(0)
摘要:largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35, 37, 39], [1000, 1001, 857, 1]])应该返回一个数组 largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35 阅读全文
posted @ 2017-09-15 17:06 spectrelb 阅读(800) 评论(0) 推荐(0)
摘要:titleCase("I'm a little tea pot") 应该返回一个字符串 titleCase("I'm a little tea pot") 应该返回一个字符串 titleCase("I'm a little tea pot") 应该返回一个字符串 titleCase("I'm a l 阅读全文
posted @ 2017-09-15 17:02 spectrelb 阅读(604) 评论(0) 推荐(0)
摘要:findLongestWord("The quick brown fox jumped over the lazy dog") 应该返回一个数字 findLongestWord("The quick brown fox jumped over the lazy dog") 应该返回 6 findLo 阅读全文
posted @ 2017-09-15 16:46 spectrelb 阅读(696) 评论(0) 推荐(0)
摘要:转载链接:https://www.zhihu.com/question/19713563/answer/23068003 分享一篇 超毛 的一篇文章《如何学习javascript》(原文链接已经无法访问,内容在下面) 首先要说明的是,咱现在不是高手,最多还是一个半桶水,算是入了JS的门 谈不上经验, 阅读全文
posted @ 2017-06-29 11:28 spectrelb 阅读(276) 评论(0) 推荐(0)
摘要:cd my-project npm install npm run dev 这样就构建了一个本地vue项目 结下来,如何调用后端接口呢? 安装 vue-resource 找到src\components\Hello.vue 把下面代码替换原来的,加入了表单,点击登录,调用后端的接口 由于后端的接口域 阅读全文
posted @ 2017-06-18 20:23 spectrelb 阅读(6267) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/xiaxiaxia/p/5741679.html 阅读全文
posted @ 2017-06-15 21:57 spectrelb 阅读(223) 评论(0) 推荐(0)