-
var
는function-scoped
이고,let
,const
는block-scoped
입니다. -
function-scoped
와block-scoped
가 무슨말이냐?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Google Drive | |
* created by luyxtran264@gmail.com | |
*/ | |
import React, { Component } from 'react'; | |
import { | |
Platform, | |
StyleSheet, | |
Text, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { injectGlobal } from 'react-emotion'; | |
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ | |
/** | |
* 1. Change the default font family in all browsers (opinionated). | |
* 2. Correct the line height in all browsers. | |
* 3. Prevent adjustments of font size after orientation changes in | |
* IE on Windows Phone and in iOS. | |
*/ |