menyatakan int dalam javascript

var integer = 1;

// variables in javascript don't have types, so you can't declare an int, except by assigning an integer to a variable
jawwson