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 learn = { | |
programmelanguage:{ | |
web: {fontend : "HTML-CSS-JS", | |
backend: ".NET-MONGODB-DATABASE"}, | |
web_app: "NODEJS-REACT-ANGULAR-JS++", | |
mobile: { | |
android: "JAVA-KOTLIN", | |
ios: "OBJECTIVE_C..."}, | |
desktop: { | |
windows: "C-C++-.NET...", |
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 Obj = () => { | |
var id =1; | |
return { | |
getID: () => { | |
return id; | |
}, | |
setID: (id2) => { | |
id=id2; | |
// console.log(id2); //* | |
}}} |
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
function chicken() { | |
return egg(); | |
} | |
function egg() { | |
return chicken(); | |
} | |
console.log(chicken() + " Came first?."); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
<title>Hello, world!</title> | |
</head> | |
<body> |
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
funn = (first, seconds) => { | |
if (exponent == 0) | |
return 1; | |
else | |
return first * seconds(first, seconds - 1); | |
} | |
console.log(power(2, 3)); |
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
fun_1 =(n)=> { | |
let varr =n; | |
return () => { | |
return varr; | |
}; | |
} | |
var a = fun_1(1); | |
var b = fun_1(2); | |
console.log(a()); |
NewerOlder