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
- Host: GitHub
- URL: https://github.com/markcarrrr/es6-examples
- Owner: markcarrrr
- Created: 2018-04-22T18:41:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-27T10:50:39.000Z (about 8 years ago)
- Last Synced: 2025-01-06T15:19:02.741Z (over 1 year ago)
- Topics: es6, es6-classes, es6-javascript, es6-promise
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)