Why the Math object in JavaScript is useful 🧮

preview_player
Показать описание
// Math = built-in object that provides a
// collection of properties and methods

let x = 3;
let y = 2;
let z = 1;

Рекомендации по теме
Комментарии
Автор

// Math = built-in object that provides a
// collection of properties and methods

let x = 3;
let y = 2;
let z = 1;

//console.log(Math.PI);
//console.log(Math.E);

//z = Math.round(x);
//z = Math.floor(x);
//z = Math.ceil(x);
//z = Math.trunc(x);
//z = Math.pow(x, y);
//z = Math.sqrt(x);
//z = Math.log(x);
//z = Math.sin(x);
//z = Math.cos(x);
//z = Math.tan(x);
//z = Math.abs(x);
//z = Math.sign(x);
let max = Math.max(x, y, z);
let min = Math.min(x, y, z);

console.log(min);

BroCodez
Автор

I have commented less times than I have fingers on one hand, however I had to say thank-you. I am very grateful for the effort you put in that helps so many learn. That helps me learn! Take care!

Thesilveraspect
Автор

Thanks, bro. You're a real bro 💪

helioobianchi
Автор

Yooo, love ya bud, Thanks for educating me on Python, I'm probably going to learn JS

IMCYT
Автор

Oooo i love this and didnt know about it before thanks !!!

ArconicTower
Автор

<*_> This is my seal. I have watched the entire video, understood it, and I can explain it in my own words, thus I have gained knowledge. This is my seal. <_*>

piotrmazgaj
Автор

easy thanks bro code for this beautiful course

kamalmilifestyle
Автор

Thank you Bro. I have 100 over Udemy courses. The number would be a lot smaller if I had found you earlier. Your teaching is superb; it's the way I learn.
What's your opinion on TypeScript? Do you use it? 🍕

alan-overthenet