Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
console.log('test'); |
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
<b>Hello World</b> |
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
import {BrowserModule} from '@angular/platform-browser'; | |
import {ErrorHandler, NgModule, Injectable} from '@angular/core'; | |
import {AppComponent} from './app.component'; | |
@Injectable() | |
class UIErrorHandler extends ErrorHandler { | |
constructor() { | |
super(); | |
} | |
handleError(error) { |
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
{ | |
"name": "newtenant", | |
"version": "0.0.0", | |
"license": "MIT", | |
"scripts": { | |
"ng": "ng", | |
"start": "ng serve", | |
"build": "ng build", | |
"test": "ng test", | |
"lint": "ng lint", |
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
(()=>{ | |
let name = 'hello'; | |
let name2 = `hello`; | |
let x = 0; | |
console.time('single quote: equals'); | |
for (let i = 0; i < 100000000; i++) { | |
if (name === 'hello') { | |
x++; | |
} | |
} |
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
var a = 2; | |
function abc(b) { | |
var c = 6; | |
return [function (e) { | |
var d = 7; | |
return a + b + c + d + e; | |
}, | |
function (k) { | |
c = k; | |
} |
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
var a = 2; | |
function abc(b) { | |
var c = 6; | |
return function (e) { | |
var d = 7; | |
return a + b + c + d + e; | |
} | |
} | |
var f = 3; | |
var g = 9; |
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
var a = 5; | |
function abc(){ | |
var b = 6; | |
function def(){ | |
console.log(b); | |
console.log(a); | |
} | |
def(); | |
} | |
abc(); |
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
var a = 5; | |
function abc(){ | |
a = 7; | |
console.log(a); | |
} | |
console.log(a); | |
abc(); | |
console.log(a); |
NewerOlder