This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Code: Intrucstion | |
Expressions are questions that Javascript can answer. Javascript answers expressions in the only way it knows how - with values. | |
Variables are Wires, Varaibles are not Values | |
Values: | |
Types of Values: | |
Primitive Values: Immutable values | |
1. Undefined | |
One value is undefined | |
2. Null | |
One value is null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hoisting | |
Var let const | |
hoisting | |
declare | |
block scope | |
Function contex & bind | |
//global context | |
//function context | |
//bind | |
Arrow function expression (fat arrow) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hướng dẫn viết một API cơ bản cho người tham gia phát triển cùng | |
Sample : | |
server | |
- | |
path | |
get | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLOUD.MONGODB | |
sharding - lưu dữ liệu | |
whitelist IP | |
Create database user for your cluster | |
Conect to Cluster | |
Insert and view Data your Cluster |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create Database - use DATABASE_NAME | |
Show all databse - show dbs | |
show current database - db | |
drop databse - db.dropDatabase() | |
Create collection: db.createCollection(name, options) | |
Drop collection: db.COLLECTION_NAME.drop() | |
Data type: String, Boolean, Araay, Integer, Double, Object, Null, Symbol, Timecstamp, Date, Object ID, Binary Data, Code, Regular expression | |
* Insert Document: you can use method insert() or save() |