"use strict";
//string
let lname;
lname = "John Doe";
let newname = lname.toUpperCase();
console.log(newname);
//string array
let empList;
empList = ["Alice", "Bob", "Charlie"];
let rs = empList.filter((name) => name.startsWith("A"));
console.log(rs);
let empList2;
empList2 = ["Alice", "Bob", "Charlie"];
let rs2 = empList2.filter((name) => name.startsWith("B"));
let rs3 = empList2.fill("David", 1, 2);
let rs4 = empList2.find((name) => name === "Charlie");
console.log(rs2);
console.log(rs3);
console.log(rs4);
//number array
let numList;
numList = [1, 2, 3, 4, 5];
let rs5 = numList.map((num) => num * 2);
let rs6 = numList.reduce((acc, num) => acc + num, 0);
console.log(rs5);
console.log(rs6);
//boolean
let isActive;
isActive = true;
console.log(isActive);
let c = 0 /* Color.Red */;
//# sourceMappingURL=datatypes.js.map