월: 2014 9월

Node.js 101

1. Read-Eval-Print-Loop (REPL) Node provides an interactive language shell, known as the Read-Eval-Print-Loop, or REPL. REPL reads inputs from a user, evaluates the inputs as JavaScript codes, prints out the results, and then waits for more inputs. REPL is useful for debugging and for experimenting with small snippets of JavaScript

Post Tagged with , ,

Platform vs. Framework

Platform A platform usually means an environment in which a piece of software is designed to run. So it often means the operating system (e.g. windows or Linux), but sometimes the architecture (x86 might be a platform, or the java virtual machine). Platforms may also include: Embedded systems Modern browsers

Javascript Objects

A JavaScript object is a collection of properties, and a property is an association between a name and a value. A property’s value can be a function, in which case the property is known as a method. Except number, string, boolean and undefined, everything in Javascript is object. When an

Javascript Basic Datatypes

Basic Datatypes number string boolean undefined null 1. number For numbers (e.g., int, long, float, double), there is only one datatype, number, in Javascript.

2. string Immutable Sequencing

string conversion When you use a number-like string as an operand in an arithmetic operation, the string is converted to

Javascript Basic Syntax

1. Basic rules JavaScript is case sensitive The variables firstName and firstname, are two different variables. The functions myFunction() and myfunction(), are two different functions. JavaScript uses the Unicode character set. It is highly recommended that you should use UTF-8 as encoding type. 2. Literals 1) What is “literals”? notation