ES6 Chapter 3 Organization 1

ES6 Chapter 3 Organization 1 This chapter will explore Iterators, Generators, Modules, and Classes. 1.Iterators Definition: a structured pattern for pulling information from a source in one-at-a-time fashion. Interfaces: Iterator: [optional]: return() {method}: stops iterator and returns IteratorResult throw() {method}:...

ES6 Chapter 2 Syntax 2

ES6 Chapter 2 Syntax 2 5.Object Literal Extensions [New Feature] Concise Properties --------old-------- var x = 2, y = 3, o = {x: x, y: y}; --------new-------- var x = 2, y = 3, o = {x, y}; [New Feature]...

ES6 Chapter 2 Syntax 1

ES6 Testing ES6 Chapter 2 Syntax 1 1.Block-Scoped Declarations: [Not New Feature] the fundamental unit of variable scoping in JavaScript has always been the function . IIFE (immediately invoked function expression) var a = 2; (function IIFE(){ var a =...

ES6 Chapter 1

ES6 Chapter 1 Transpiling [?] backwards compatibility OR rapid evolvement [Answer] transformation compiling: to transform your ES6 code into equivalent (or close) matches that work in ES5 environments. (transformations how/when linting, minification, etc) [Example] For example, consider shorthand property definitions...

Linux command collection

1.SSH Shortcuts Host centdev HostName 192.168.12.22 Port 2345 User root Host fc5dev HostName 192.168.12.11 Port 4567 User btbt Host svn HostName 192.168.12.22 User root Host svn2 HostName 192.168.12.232 User root s PreferredAuthentications publickey PubkeyAuthentication yes IdentityFile ~/.ssh/id_rsa =======config target machine======...