javascript what is a value code example Example: define value in js var var1 = 1; //value var var2 = "str"; var var3 = 'char';