Welcome to the first JavaScript workshop, organized by tim.js.
We will dive into the building blocks of the ECMAScript language, the so called "1st class citizens", explaining in detail how they work & why is it so important to understand them. We will cover some fundamental concepts of ES5, while also touching some new features added in ES6.
Tutor: Andrei Pfeiffer
- Intro: short history, JS vs ES;
- Primitives: types, typeof, type casting, falsey values;
- Arrays: literals, stack, queue, filtering, iterating;
- Objects: literals, enhanced literals, property descriptors, json;
- Functions: types, returns, 1st class functions.
Here's a list of things you need:
- a laptop & power-plug
- a code editor (optional)
- Node.js 4.0+ (optional)
- Beginner & Intermediate JavaScript developers who want to discover the language at a deeper level
- Advanced developers, who switched to JavaScript and want to understand its mechanics
Here are the steps you can follow to setup the workshop project skeleton. All these commands need to be run from the command line (shell/terminal):
- iTerm on MacOSX
- cmd/GitBash on Windows
- any terminal on Linux.
First, you need to create a new folder somewhere on your computer:
mkdir [PROJECT_NAME]
cd [PROJECT_NAME]
// or create a new "project folder" and navigate to it using your favourite file system tool
Second, you need to clone this repository. You can do it in multiple ways:
a) with git:
git clone https://github.com/andreipfeiffer/timjs-workshop-01-javascript-citizens.git ./
NOTE: if you have a GitHub account, you can fork this repo, so you can commit your personal changes.
b) without git:
Download this repo and unzip it in your PROJECT_NAME folder.
npm install
npm start
This should display a URL in the console, where you can load the project page.