50 Javascript
Concepts Every
Devdeloper
Should Know
作者: Hernando Abella
My JS Note
該書寫給使用JS語言基礎開發者總結手冊,精簡干貨.
我先整理英文內容,之後整理有用資料,之後計劃更改中文標註。
本書代碼 exmaple.js
陣列代碼 ex_arr.js
Matrix代碼 ex_linear.js
node example.js
get-content example.js | findstr /c:"/** "
/** 1.Call Stack LIFO /
/* 2.Primitive Types /
/* 3.Value Types and Ref Types(Literal Obj,Array,Func,UD Obj) /
/* 4.Implicit,Explicit,Nominal,Struct,and Duck Typing /
/* 5.== vs === vs typeof() /
/* 6.Func Scope, Block, Lexical /
/* 7.Expression vs Statement /
/* 8.IIFE Modlues and Namespaces /
/* 18. Object.create and Object.assign /
/* 19. map,reduce and filter /
/* 20. Pure Functions,Side Effects,State Mutation,Event Propagation /
/* 21. Closures*/
/** 22. High Order Functions*/
/** 23. Recursion*/
/** 24. Collections & Generators*/
/** 25. Promises /
/* 26. aysnc/await /
/* 27. Data Structures /
/* 28. Costly Operations & Big 0 Notation*/
/** 29. Algorithms*/
/** 30. Inheritance,Polymorphism,and Code Reusability /
/* 31. Design Patterns*/
/** 32. Partial Application,Currying,Composition, and Pipe*/
/** 33. Clean Code /
/* 34. Error Handling*/
/** 35. ES6 Modules /
/* 36. Ternary Operator /
/* 37. Spread and Rest Operators (...) /
/* 38. Destructuring /
/* 39. Template Literals ${value}
/
/** 40. Arrow Functions /
/* 41. Array Methods(forEach,some,every,find,findIndex,etc.)/
/** 42. String Methods(split,trim,replace,etc.)/
/** 43. Object Methods(keys,values,entries,etc.)/
/** 44. Math Methods(floor,ceil,random,etc.) /
/* 45. JSON & Object Serialization/Deserialization /
/* 46. Fetch API and AJAX*/
/** 47. LocalStorage SessionStorage /
/* 48. WebSockets and Socket.IO /
/* 49. Canvas and WebGL /
/* 50. Testing with Jest or Mocha */
乙已年春