Shortcuts |
---|
This file contains 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
using Microsoft.Extensions.Configuration; | |
using System; | |
using System.IO; | |
using DataAccessLibrary; | |
using DataAccessLibrary.Models; | |
namespace SQLServerUI | |
{ | |
class Program | |
{ |
This file contains 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 content="width=device-width, initial-scale=1" name="viewport"> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<link href="https://kironroy.github.io/apple-touch-icon.png" rel="apple-touch-icon" /> | |
<link href="https://kironroy.github.io/apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152" /> | |
<link href="https://kironroy.github.io/apple-touch-icon-167x167.png" rel="apple-touch-icon" sizes="167x167" /> |
This file contains 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(vini.getSummary()); | |
const grace = { | |
firstName: 'Grace', | |
lastName: 'Kelly', | |
birthYear: 1945, | |
job: 'Actor', | |
sisters: ['Pam', 'Bonnie', 'Michelle'], | |
hasDriversLicense : true, |
This file contains 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
const johnObj = { | |
firstName: 'John', | |
lastName: 'Smith', | |
mass: 78, | |
height: 1.69, | |
calcBMI: function () { | |
this.bmi = (this.mass / this.height); | |
return this.bmi; | |
}, |
This file contains 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
const johnObj = { | |
fullName: 'John Smith', | |
mass: 92, | |
height: 1.95, | |
calcBMI: function () { | |
this.bmi = this.mass / this.height ** 2; | |
return this.bmi; | |
}, | |
getSummary: function() { |
This file contains 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
const ginaArr = [ | |
'Gina', | |
'Davis', | |
2037 - 1967, | |
'singer', | |
['Sam', 'Tam', 'Mam'], | |
true | |
]; | |
const types = []; |
This file contains 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
const yearsArr = [1991, 2007, 1969, 2020]; | |
const agesArr = []; | |
for (let i = 0; i < yearsArr.length; i++) { | |
agesArr.push(2037 - yearsArr[i]); | |
} | |
console.log(agesArr); | |
// [46, 30, 68, 17] |
This file contains 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
const ginaArr = [ | |
'Gina', | |
'Davis', | |
2037 - 1967, | |
'singer', | |
['Sam', 'Tam', 'Mam'], | |
]; | |