A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Grupo-Abraxas/javascript below:

GitHub - Grupo-Abraxas/javascript: JavaScript Style Guide

Abraxas JavaScript Style Guide() {

A mostly reasonable approach to JavaScript. Based on Airbnb's..

  1. Types
  2. References
  3. Objects
  4. Arrays
  5. Destructuring
  6. Strings
  7. Functions
  8. Arrow Functions
  9. Classes & Constructors
  10. Modules
  11. Iterators and Generators
  12. Properties
  13. Variables
  14. Hoisting
  15. Comparison Operators & Equality
  16. Blocks
  17. Control Statements
  18. Comments
  19. Whitespace
  20. Commas
  21. Semicolons
  22. Type Casting & Coercion
  23. Naming Conventions
  24. Accessors
  25. Events
  26. ECMAScript 5 Compatibility
  27. ECMAScript 6+ (ES 2015+) Styles
  28. Standard Library
  29. Testing
  30. License

⬆ back to top

⬆ back to top

⬆ back to top

// bad
const arr = [
  [0, 1], [2, 3], [4, 5],
]

const objectInArray = [{
  id: 1,
}, {
  id: 2,
}]

const numberInArray = [
  1, 2,
]

// good
const arr = [[0, 1], [2, 3], [4, 5]]

const objectInArray = [
  {
    id: 1,
  },
  {
    id: 2,
  },
]

const numberInArray = [
  1,
  2,
]

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

Comparison Operators & Equality

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

⬆ back to top

ECMAScript 6+ (ES 2015+) Styles
  1. Arrow Functions
  2. Classes
  3. Object Shorthand
  4. Object Concise
  5. Object Computed Properties
  6. Template Strings
  7. Destructuring
  8. Default Parameters
  9. Rest
  10. Array Spreads
  11. Let and Const
  12. Exponentiation Operator
  13. Iterators and Generators
  14. Modules

⬆ back to top

The Standard Library contains utilities that are functionally broken but remain for legacy reasons.

⬆ back to top

⬆ back to top

MIT License


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4