a
a
aizatto.com
Build.my
GitHub
Linkedin
Notion
Search…
aizatto.com
Table of Contents
Portfolio, Projects, Tools, Toys
Interview Guide
Engineering Code
Engineering Management
Why GitBook?
Getting into Tech
Personal Goals
Daily Drivers
Contacting Me
Notes
AWS
JavaScript
Array
Async & Await / Promises
Booleans
Collections
Cons/Dislikes
fetch
Map
Modules
Object
Regex
Set
Style Guides
Versions
Node.js
Software Engineering
Technical Due Diligence
Web Development
Archive
More on Notion
Powered By
GitBook
JavaScript
​
http://stateofjs.com
​
​
Reference: Node.js
​
Resources
Type
MDN
Array
​
MDN
​
Date
​
MDN
​
Object
​
MDN
​
String
​
MDN
​
JSON
​
MDN
​
Set
​
MDN
​
RegExp
​
MDN
​
Destructuring Assignment
​
MDN
​
const
​
MDN
​
let
​
MDN
​
export
​
MDN
​
​
parseInt
​
​
parseFloat
​
​
runkit.com
​
strict mode
Begin files with:
1
'use strict'
;
Copied!
​
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode
​
Arrow functions:
() => {}
1
const
a
=
(
param1
,
param2
)
=>
{
2
return
param1
+
param2
;
3
​
4
}
5
​
6
const
b
=
(
param1
,
param2
)
=>
param1
+
param2
;
Copied!
​
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
​
String
​
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String
​
UTF Support
​
https://stackoverflow.com/questions/16293923/does-v8-have-unicode-support
https://github.com/v8/v8/blob/master/include/v8.h
​
window
window.location.hash
1
console
.
log
(
window
.
location
.
hash
);
Copied!
Results:
1
#array
Copied!
Results will always be prefixed with
#
scroll
Scroll to a part of the screen.
1
window
.
location
.
hash
=
'#object'
Copied!
trailing commas
​
http://exploringjs.com/es2016-es2017/ch_trailing-comma-parameters.html
​
​
Simple Assert
1
input
=
"a b c d e"
;
2
​
3
main
(
input
)
{
4
...
5
}
6
​
7
assert
(
expected
,
input
)
{
8
console
.
log
(
input
);
9
actual
=
main
(
input
);
10
result
=
expected
===
actual
;
11
console
.
log
(
result
);
12
if
(
!
result
)
{
13
console
.
log
(
actual
);
14
console
.
log
(
expected
);
15
}
16
}
17
​
18
// Case 1
19
assert
(
expected
,
input
);
20
​
21
// Case 2
22
assert
(
expected2
,
input2
);
23
​
24
// Case 3
25
assert
(
expected3
,
input3
);
Copied!
​
querystring
​
Warning:
querystring.stringify
does not stringify deeply nested objects.
GitHub Gist:
Merge Query Strings
​
Class
es
1
class
Animal
{
2
constructor
()
{
3
}
4
}
5
​
6
class
Cat
extends
Animal
{
7
constructor
(
props
)
{
8
super
(
props
)
9
}
10
}
Copied!
Flow vs TypeScript
​
http://djcordhose.github.io/flow-vs-typescript/elm-flow-typescript.html#/
​
Flow
​
https://flow.org/en/docs/config/
​
​
https://github.com/facebook/relay/blob/master/.flowconfig
https://github.com/facebook/react/blob/master/.flowconfig
https://github.com/graphql/graphql-js/blob/master/.flowconfig
​
ESLINT
Alternatives
Go
​
Elixir
​
Frameworks
​
http://graphql.org/code/
​
​
https://github.com/graphql/graphql-js/
​
​
https://github.com/graphql/express-graphql
​
​
http://expressjs.com
​
ORM
​
http://docs.sequelizejs.com/en/v3/
​
​
http://bookshelfjs.org
​
Previous
Lambda
Next
Array
Last modified
2yr ago
Copy link
Contents
Resources
strict mode
Arrow functions: () => {}
String
UTF Support
window
window.location.hash
trailing commas
Simple Assert
querystring
Classes
Flow vs TypeScript
Alternatives
Frameworks
ORM