上一页 1 ··· 298 299 300 301 302 303 304 305 306 ··· 492 下一页
摘要: React based applications often use controlled inputs, meaning the input event leads to the application code setting the value of the very input we’re 阅读全文
posted @ 2018-05-24 21:23 Zhentiw 阅读(270) 评论(0) 推荐(0)
摘要: In this lesson, we’ll add tests that finds a focused input. We’ll use Chrome’s dev tools from inside the Cypress runner to inspect the element and upd 阅读全文
posted @ 2018-05-24 21:10 Zhentiw 阅读(289) 评论(0) 推荐(0)
摘要: Adding Cypress to a project is a simple npm install away. We won’t need any global dependencies beyond node and npm to get started with Cypress. In th 阅读全文
posted @ 2018-05-24 20:51 Zhentiw 阅读(248) 评论(0) 推荐(0)
摘要: Latest Javascript features, not supported by all broswers, but can use with babel. # try-catch-finally, Promise finally: # Regex: 1. Lookbehind: 2. Lo 阅读全文
posted @ 2018-05-21 20:44 Zhentiw 阅读(244) 评论(0) 推荐(0)
摘要: When the element has empty content, you might want to display some text to idicate the compoent is loading... 阅读全文
posted @ 2018-05-21 16:15 Zhentiw 阅读(151) 评论(0) 推荐(0)
摘要: In this lesson, you will learn how to statically type variables in Python 3.6 Static typing can help you avoid errors when consumers of your variables 阅读全文
posted @ 2018-05-21 02:15 Zhentiw 阅读(256) 评论(0) 推荐(0)
摘要: Values assigned with let and const are seen everywhere in JavaScript. It's become common to hear them explained like so: "const creates an constant (i 阅读全文
posted @ 2018-05-21 02:11 Zhentiw 阅读(136) 评论(0) 推荐(0)
摘要: function solution( tags = ['ul', 'ol']) { const [uls, ols] = tags.map(tag => Array.from($(`${tag}`))); const [logUl, logOl] = tags.map(tag => new Logg 阅读全文
posted @ 2018-05-17 05:02 Zhentiw 阅读(268) 评论(0) 推荐(0)
摘要: JavaScript provides primitive types and means of processing those. However, those are not enough. Real data must somehow come into the program and dat 阅读全文
posted @ 2018-05-15 21:59 Zhentiw 阅读(281) 评论(0) 推荐(0)
摘要: Functions are first class in JavaScript. This means we can treat a function like any other data. This also means we can end up with a function as the 阅读全文
posted @ 2018-05-14 21:02 Zhentiw 阅读(245) 评论(0) 推荐(0)
上一页 1 ··· 298 299 300 301 302 303 304 305 306 ··· 492 下一页