上一页 1 ··· 279 280 281 282 283 284 285 286 287 ··· 494 下一页
摘要: A linked list is a collection of items where each item points to the next one in the list. Because of this structure, linked lists are very slow when 阅读全文
posted @ 2018-12-14 00:07 Zhentiw 阅读(259) 评论(0) 推荐(0)
摘要: A stack is a collection of items that obeys the principle of "last in, first out". Like a stack of plates, we can only access the topmost plate at any 阅读全文
posted @ 2018-12-13 06:06 Zhentiw 阅读(248) 评论(0) 推荐(0)
摘要: In this lesson, you will learn how to create a queue in JavaScript. A queue is a first-in, first-out data structure (FIFO). We can only remove items f 阅读全文
posted @ 2018-12-12 06:21 Zhentiw 阅读(208) 评论(0) 推荐(0)
摘要: The idea is wrap a object with all its function methods and add some additional handling into a new object. For example, we have a object 'fireEvent': 阅读全文
posted @ 2018-12-11 03:29 Zhentiw 阅读(135) 评论(0) 推荐(0)
摘要: It is hard to explain css selector specificty, to easy way to understand it is by playing around with it. To remember some rules can be helpful: inlin 阅读全文
posted @ 2018-12-11 01:54 Zhentiw 阅读(340) 评论(0) 推荐(0)
摘要: Sometimes, you might want to convert a JavaScript function that accepts a callback to one that returns a Promiseobject. This lesson shows how to manua 阅读全文
posted @ 2018-12-07 19:16 Zhentiw 阅读(181) 评论(0) 推荐(0)
摘要: For a file which contians lots of lines of code, we can use 'comments region' to collapse the code. 阅读全文
posted @ 2018-12-07 17:53 Zhentiw 阅读(150) 评论(0) 推荐(0)
摘要: Use custom Cypress command for reusable assertions We’re duplicating quite a few commands between the registration and login of our user for assertion 阅读全文
posted @ 2018-12-06 21:13 Zhentiw 阅读(440) 评论(0) 推荐(0)
摘要: Use Cypress to test user registration Let’s write a test to fill out our registration form. Because we’ll be running this against a live backend, we n 阅读全文
posted @ 2018-12-05 15:54 Zhentiw 阅读(364) 评论(0) 推荐(0)
摘要: Despite the fact that Cypress is an application that runs natively on your machine, you can install it and add it as a dependency just like all other 阅读全文
posted @ 2018-12-05 02:38 Zhentiw 阅读(589) 评论(0) 推荐(0)
上一页 1 ··· 279 280 281 282 283 284 285 286 287 ··· 494 下一页