Skip to content

Instantly share code, notes, and snippets.

# ECMAScript 6 (ES6)
The technical name of the JavaScript language is ECMAScript. ECMA stands for the European Computer Manufacturers Association. This is the organization that oversees the standardization process of the JavaScript language.ECMAScript version 6 (ES6 for short) is a newer version of JavaScript. In this module, you will learn about some of the features of ES6 including:
* Imports/Exports
* Default function arguments
* The let and const keywords
* Template literals
* The rest parameter
@wktdev
wktdev / waveforms.html
Created January 26, 2018 11:21 — forked from httnn/waveforms.html
Drawing waveforms with the Web Audio API
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Waveform drawer</title>
</head>
<body>
<input type="file" /><br />
<svg preserveAspectRatio="none" width="2000" height="100" style="width:900px;height:50px;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<linearGradient id="Gradient" x1="0" x2="0" y1="0" y2="1">
@wktdev
wktdev / wiktionarylookup.html
Created January 2, 2018 04:35 — forked from nichtich/wiktionarylookup.html
Look up a word in Wiktionary via MediaWiki API and show the Wiktionary page
<html>
<head>
<script type="text/javascript" src="./jquery-1.4.3.min.js"></script>
<script type="text/javascript">
var baseURL = 'http://en.wiktionary.org';
function showPage(page,text) {
var sourceurl = baseURL + '/wiki/' + page;
$('#pagetitle').text(page);
$('#wikiInfo').html(text);
$('#sourceurl').attr('href',sourceurl);
Checkpoint:
```
git checkout -b branch-name
git status (use often as needed)
git add .
git commit -m "Description"
git checkout master
git merge branch-name
@wktdev
wktdev / bloc_answer.md
Last active November 18, 2016 07:51
bloc_answers

JavaScript Fundamentals

The reason this code does not work is because only one event listener is created and it is being assigned a selector of getElementById('btn-3')

You can see this yourself in the following example:

var prizes = ['A Unicorn!', 'A Hug!', 'Fresh Laundry!'];

for (var btnNum = 0; btnNum < prizes.length; btnNum++) {