how to assign variable value in javascript code example Example: javascript define variable var variable1 = "some variable content";