One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
I hereby claim:
To claim this, I am signing this object:
| // source: http://stackoverflow.com/a/11058858 | |
| function ab2str(buf) { | |
| return String.fromCharCode.apply(null, new Uint16Array(buf)); | |
| } |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
| <!-- MIT License --> | |
| <html> | |
| <head> | |
| <script> | |
| function generateKey(alg, scope) { | |
| return new Promise(function(resolve) { | |
| var genkey = crypto.subtle.generateKey(alg, true, scope) | |
| genkey.then(function (pair) { | |
| resolve(pair) | |
| }) |
These are the Kickstarter Engineering and Data role definitions for both teams.
| import { flatten } from "./flatten"; | |
| describe("flatten method", function() { | |
| it("should flatten deeply arrays", function() { | |
| const array = [1, [2, [3, [4]], 5]]; | |
| const flatArray = flatten(array); | |
| const expected = [1, 2, 3, 4, 5]; | |
| expect(flatArray).toEqual(expected); | |
| }); |
| var people = [ | |
| { name: 'John Hill', age: 22 }, | |
| { name: 'Jack Chill', age: 27 } | |
| ]; | |
| var getInitials = function( name ) { | |
| // Reusing the name argument makes little sense in general. | |
| // We are making this assignment here for demonstrating | |
| // the difference between value types and reference types. | |
| name = name.split( ' ' ).map( function( word ) { |
| <html> | |
| <head> | |
| <title>DOM!!!</title> | |
| </head> | |
| <body> | |
| <h1 id="one">Welcome</h1> | |
| <p>This is the welcome message.</p> | |
| <h2>Technology</h2> | |
| <p>This is the technology section.</p> | |
| <script type="text/javascript"> |
| function Person(name) { | |
| this.name = name; | |
| } | |
| var person = Person('John'); | |
| console.log(person); | |
| console.log(person.name); | |
| var person = new Person('John'); | |
| console.log(person); |