+ 2

Help with code writing Js

Declare str, num, flag, and txt variables with Hello, 123, true, and true respectively. Use the type definition operator to make sure the variables are type: string, number, boolean. Js studying recently need to complete a task write 1 example please I will do the rest myself.

27th Nov 2019, 2:54 PM
Noldor
Noldor - avatar
2 Answers
+ 4
All you need to do is var your_variable_name = your_initial_value;
27th Nov 2019, 3:01 PM
Raj Chhatrala
Raj Chhatrala - avatar
0
Where is your code?
28th Nov 2019, 5:28 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar