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
parent.console.clear(); | |
// var {a, b} = {a: 1, b: 2}; | |
var a = 1; | |
var b = 2; | |
// console.log(a, b); | |
var bar = '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
parent.console.clear(); | |
function asyncFunction(id = '', delay = 1000) { | |
return new Promise((resolve, reject) => { | |
setTimeout(() => { | |
// resolve('yeah ' + id); | |
reject('nooo ' + id); | |
}, delay); | |
}); | |
} |
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
parent.console.clear(); | |
let o1 = {a: 1}; | |
let o2 = {a: 1}; | |
let o = {}; | |
o[34] = 'a'; | |
o['34'] = 'a'; | |
o[o1] = 'b'; | |
o[o2] = 'c'; |
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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ "key": "ctrl+e", "command": "editor.action.deleteLines", | |
"when": "editorTextFocus && !editorReadonly" }, | |
{ "key": "alt+up", "command": "editor.action.insertCursorAbove", | |
"when": "editorTextFocus" }, | |
{ "key": "alt+down", "command": "editor.action.insertCursorBelow", | |
"when": "editorTextFocus" }, | |
{ "key": "alt+shift+up", "command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" }, |
OlderNewer