Lesson 1 of 7
Variables, types & functions
Variables, types & functions
JavaScript stores data in variables (let, const) of different types: strings, numbers, booleans, arrays, objects.
Functions package reusable logic: function greet(name) { return 'Hi ' + name }. Functions that take inputs and return outputs are the building blocks of every program.
Q&A · 0
Enrol to ask questions and join the discussion.
No questions yet — be the first to ask.