An open API service indexing awesome lists of open source software.

https://github.com/markcarrrr/es6-examples

JavaScript ES6 examples
https://github.com/markcarrrr/es6-examples

es6 es6-classes es6-javascript es6-promise

Last synced: 1 day ago
JSON representation

JavaScript ES6 examples

Awesome Lists containing this project

README

          

# JavaScript ES6 examples
Personal code examples to highlight my knowledge of ES6.

## Requirements
For import/export of modules to work the 'site' will need to be set up in a local server due to CORs issues. As a suggestion [MAMP](https://www.mamp.info/en/) can be a good solution for this as can [IIS](https://www.iis.net/).

## Testing
* Lastest Chrome (macOS)
* Latest Firefox (macOS)
* Latest Safari (macOS)
* Latest Edge (Win10)
* VoiceOver (macOS)

## ES6 examples used
* Classes
* Promises
* Export/Import modules
* Arrow functions
* Template literals
* Fetch API

## Resources:
* API: [https://pokeapi.co/](https://pokeapi.co/)