محتوى الدورة
Learn JavaScript in Arabic 2021
وصف الدرس

التحدي الموجود في الدرس

/*
  Number Challenge
*/

let a = 100;
let b = 2_00.5;
let c = 1e2;
let d = 2.4;

// Find Smallest Number In All Variables And Return Integer
console.log();

// Use Variables a + d One Time To Get The Needed Output
console.log(); // 10000

// Get Integer "2" From d Variable With 4 Methods
console.log();
console.log();
console.log();
console.log();

// Use Variables b + d To Get This Valus
console.log(); // 66.67 => String
console.log(); // 67 => Number