摘要:
Regular Expression Word Boundaries allow to perform "whole word only" searches within our source string. Imaging we have string as follow, and we want 阅读全文
摘要:
Let's image tow cases for the following string: var str = `foo foobar foobaz fooboo` First of all: we know how to capture foobar or fooboo: var regex 阅读全文
摘要:
We'll capture groups of characters we wish to match, use quantifiers with those groups, and use references to those groups in String.prototype.replace 阅读全文
摘要:
Somtimes, the project might set the commit message guide line, if your commit doesn't meet the requirement, ghook will reject it. If you really not su 阅读全文
摘要:
When you want to push your local branch to remote branch, for the first push: git push --set-upstream origin <branch_name> The reason to set 'up-strea 阅读全文
摘要:
We will create an anction creator to manage the dispatch actions, to keep code maintainable and self-documenting by extracting action creators from th 阅读全文
摘要:
Currently in our main() function, we get click$ event. function main(sources) { const click$ = sources.DOM; const sinks = { DOM: click$ .startWith(nul 阅读全文