카테고리: javascript & node.js

javascript & node.js

Supervised vs. Unsupervised Learning

Supervised Problems & Learning In supervised problems, specific purpose or target has been specified By supervised problems, for example, a teacher “supervises” the learner by carefully providing target information along with a set of examples. Supervised problem examples “Can we find groups of customers who have particularly high likelihoods of

javascript & node.js

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 , ,

javascript & node.js

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 & node.js

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 & node.js

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