serveless-time-evaluation
1 | var observable = Rx.Observable.create(function(observer) { |
javascript-array
includes method
forEach method
Do do something with each item of the array1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17function getStockSymbols(stocks) {
var symbols = [];
stocks.forEach(function(stock) {
symbols.push(stock.symbol);
});
return symbols;
}
var symbols = getStockSymbols([
{ symbol: "XFX", price: 240.22, volume: 23432 },
{ symbol: "TNZ", price: 332.19, volume: 234 },
{ symbol: "JXJ", price: 120.22, volume: 5323 },
]);
console.log(JSON.stringify(symbols));
angular2-library
Creation d’une lib javascript
Ref : https://shellmonger.com/2016/03/11/creating-javascript-libraries-with-typescript-and-webpack/
Kubernetes
http://kubernetes.io/docs/hellonode/
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications.