Skip to content

Commit

Permalink
Touch
Browse files Browse the repository at this point in the history
  • Loading branch information
131 authored Sep 27, 2016
1 parent 24223ee commit 2ba8fd4
Showing 1 changed file with 3 additions and 53 deletions.
56 changes: 3 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
# Airbnb JavaScript Style Guide() {
#IVSGroup JavaScript Style Guide()

*A mostly reasonable approach to JavaScript*

[![Downloads](https://img.shields.io/npm/dm/eslint-config-airbnb.svg)](https://www.npmjs.com/package/eslint-config-airbnb)
[![Downloads](https://img.shields.io/npm/dm/eslint-config-airbnb-base.svg)](https://www.npmjs.com/package/eslint-config-airbnb-base)
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/airbnb/javascript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Other Style Guides
- [ES5 (Deprecated)](/~https://github.com/airbnb/javascript/tree/es5-deprecated/es5)
- [React](react/)
- [CSS-in-JavaScript](css-in-javascript/)
- [CSS & Sass](/~https://github.com/airbnb/css)
- [Ruby](/~https://github.com/airbnb/ruby)
* Based on [airbnb javascript guidelines](/~https://github.com/airbnb/javascript)

## Table of Contents

1. [Types](#types)
1. [Modules](#modules)
1. [References](#references)
1. [Objects](#objects)
1. [Arrays](#arrays)
Expand All @@ -24,7 +13,6 @@ Other Style Guides
1. [Functions](#functions)
1. [Arrow Functions](#arrow-functions)
1. [Classes & Constructors](#classes--constructors)
1. [Modules](#modules)
1. [Iterators and Generators](#iterators-and-generators)
1. [Properties](#properties)
1. [Variables](#variables)
Expand Down Expand Up @@ -52,44 +40,6 @@ Other Style Guides
1. [Contributors](#contributors)
1. [License](#license)

## Types

<a name="types--primitives"></a><a name="1.1"></a>
- [1.1](#types--primitives) **Primitives**: When you access a primitive type you work directly on its value.

+ `string`
+ `number`
+ `boolean`
+ `null`
+ `undefined`

```javascript
const foo = 1;
let bar = foo;

bar = 9;

console.log(foo, bar); // => 1, 9
```

<a name="types--complex"></a><a name="1.2"></a>
- [1.2](#types--complex) **Complex**: When you access a complex type you work on a reference to its value.

+ `object`
+ `array`
+ `function`

```javascript
const foo = [1, 2];
const bar = foo;
bar[0] = 9;
console.log(foo[0], bar[0]); // => 9, 9
```

**[⬆ back to top](#table-of-contents)**

## References

<a name="references--prefer-const"></a><a name="2.1"></a>
Expand Down

0 comments on commit 2ba8fd4

Please sign in to comment.