Skip to content

Instantly share code, notes, and snippets.

function getIntChecker(maybeInt) {
const input = maybeInt;
let _parsed = null;
let _isInteger = null;
let _isZero = null;
let _isNegative = null;
let _isPositive = null;
const parse = function parse() {

Keybase proof

I hereby claim:

  • I am iwburns on github.
  • I am iwburns (https://keybase.io/iwburns) on keybase.
  • I have a public key whose fingerprint is BB2B 1ACA 6DB7 78DC 68FB 5C4F 6EDA 2163 7ABC 43C3

To claim this, I am signing this object:

@iwburns
iwburns / js-basics.md
Last active August 29, 2015 14:15
Javascript Basics

Javascript Basics

Variable Declaration

var a;      // declares a variable in this scope called a whose initial value is undefined
var b = 1;  // declares b in this scope, and gives it an initial value of 1
var c = b,
    d = 5;  // declares c and d as part of the same statement
a = 2;      // a has been assigned a new value of 2