Skip to content

Instantly share code, notes, and snippets.

View nsuvorov83's full-sized avatar

Nikolay Suvorov nsuvorov83

  • VTB
  • Moscow
View GitHub Profile
@nsuvorov83
nsuvorov83 / js-reference.js
Created December 10, 2017 20:11 — forked from toasty-sunbeam/js-reference.js
JavaScript reference guide
OBJECTS
=====
// There are two ways you can create objects: Literal notation and construction notation.
//
// Literal notation uses curly braces:
var james = {
job: "programmer",
married: false,
greet: function() {
console.log("Hello!");