Muhammad Faheem Akhtar
I'm a freelance JavaScript Developer who loves building cool things, especially Web Applications which solve business problems. I love trying new things, reading books, and wasting my time wondering about life and goals.
console.log("By: ", "Muhammad Faheem Akhtar");
let me = {
name: "Muhammad Faheem Akhtar",
interest: "Become a Full Stack Developer",
isLazy: true,
github: "mfaheemakhtar",
website: "mfaheemakhtar.com",
email: "hello@mfaheemakhtar.com"
};
THINGS I WILL BE TALKING ABOUT
1. What is JavaScript?
2. What actually is JavaScript?
3. Things that make JavaScript a GREAT choice
4. JavaScript Syntax
5. Chaining
6. How JavaScript V8 Engine works.
What is JavaScript?
"JavaScript is a high-level programming language, which was developed to make the web more interactive."
It is one of three core technologies you must know before you can make a website.
What actually is JavaScript?
"JavaScript is a highly object-oriented, functional, dynamically-typed asynchronous language."
It can be used for both server-side and client-side programming.
Things that make JavaScript a GREAT choice.
SYNTAX
// define a variable
let x = "this is a variable and it does not need a data-type";
// define a function - adds two numbers
const x = (a, b) => a+b;
// a for-loop
for( let i = 0; i <= 10; i++ ){ console.log( i ); }
// a class
class Rectangle {
constructor(height, width) {
this.height = height;
this.width = width;
}
}
!Chaining
function titleCaseX(oldT){
let temp = oldT.split(" ");
temp = temp.map(data => {
let a = data[0].toUpperCase();
let b = data.slice(1);
b = b.toLowerCase();
return a + b;
});
return temp.join(" ");
}
console.log(titleCaseX("faHeEm aKhtAr"));
OUTPUT: Faheem Akhtar
Chaining
function titleCase(oldT){
return oldT.split(" ").map(data => data[0].toUpperCase() + (data.slice(1)).toLowerCase()).join(" ");
}
console.log(titleCase("faHeEm aKhtAr"));
OUTPUT: Faheem Akhtar
SCARY PART
How does V8 Engine works? NOW
How does V8 Engine works? THEN
Any Benefit? YEAH!!!
Questions?
SOMETHING
Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter.
— Eric S. Raymond
By Muhammad Faheem Akhtar
I'm a freelance JavaScript Developer who loves building cool things, especially Web Applications which solve business problems. I love trying new things, reading books, and wasting my time wondering about life and goals.