Recap - Initialize Variables
Part of the Fundamentals section of Coddy's JavaScript journey — lesson 10 of 77.
Challenge
BeginnerWrite code that initializes the following variables:
kwith the value88PIwith the value3.14namewith the value"bob"
Make sure you use the exact variables names and values. Remember, JavaScript is case sensitive!
Try it yourself
// Type your code below
// Don't change the line below
console.log(`k = ${k}`)
console.log(`PI = ${PI}`)
console.log(`name = ${name}`)All lessons in Fundamentals
4Operators Part 2
Logical Operators Part 1Logical Operators Part 2Recap - Simple LogicLogical Operators Part 3Type Coercion7Bill Split Calculator
Welcome MessageCalculating The Tip And Total2Variables
NumbersStringBooleanNaming ConventionsEmpty VariablesRecap - Initialize VariablesConstants3Operators Part 1
Arithmetic OperatorsModulo OperatorArithmetic ShortcutsComparison OperatorsStrict vs Loose EqualityRecap - Simple Math6Basic IO
OutputOutput with VariablesType Conversion - Part 1Type Conversion - Part 2Recap - Till 120Recap - True or False