摘要:
Install Karam: npm install -g karma npm install -g karma-cli Init Karam: karma init First test: 1. Add test file to the karma.conf.js: // list of file 阅读全文
摘要:
Using a character set repeated 1 or more times, make a pattern to search for strings that do not contain the characters 'a', 'e', 'i', 'o', 'u', and ' 阅读全文
摘要:
String to check: As it turns out, our potential shipmates are extremely superstitious. As such, we do not want anyone to enter certain words in their 阅读全文
摘要:
React doesn't provide the listener to listen the DOM event. But we can do it in React life cycle: So when the compoment did mount, we add listeners to 阅读全文
摘要:
React's inline styles allow components to stand on their own by not requiring any external CSS. However HTML's style attributes don't support pseudo s 阅读全文
摘要:
Immutable.js offers methods to break immutable structures into subsets much like Array--for instance it has the all powerful slice()--and unlike Array 阅读全文
摘要:
Immutable.js provides several methods to iterate over an Immutable.Map(). These also apply to the other immutable structures found within the Immutabl 阅读全文