#javascript_questions
Day-9
Consolega nima chiqadi?
@apexprogrammer
Day-9
Consolega nima chiqadi?
function getPersonInfo(one, two, three) {
console.log(one);
console.log(two);
console.log(three);
}
const person = 'Adam';
const age = 25;
getPersonInfo`${person} is ${age} years old`;
@apexprogrammer
π2π₯1
Day-9 question answers:
Anonymous Quiz
12%
A: "Adam" 25 ["", " is ", " years old"]
50%
B: ["", " is ", " years old"] "Adam" 25
27%
C: "Adam" ["", " is ", " years old"] 25
12%
D: Nima buuuu?!!!
π4π1
#javascript_questions
Day-10
Consolege nima chiqadi?
@apexprogrammer
Day-10
Consolege nima chiqadi?
function checkAge(data) {
if (data === { age: 18 }) {
console.log('You are an adult!');
} else if (data == { age: 18 }) {
console.log('You are still an adult.');
} else {
console.log(`Hmm.. You don't have an age I guess`);
}
}
checkAge({ age: 18 });
@apexprogrammer
π₯4π€2β‘1
Day-10 variantlar:
Anonymous Quiz
43%
You are an adult!
11%
B: You are still an adult.
46%
C: Hmm.. You don't have an age I guess
π3π₯±3π2π₯1
#javascript_questions
Day-11
What is the output?
@apexprogrammer
Day-11
What is the output?
function getAge(...args) {
console.log(typeof args);
}
getAge(21);
@apexprogrammer
π₯2π1
π₯±3π2π1π1
#javascript_questions
Day-12
Consolega nima chiqadi?
@apexprogrammer
Day-12
Consolega nima chiqadi?
function getAge() {
'use strict';
age = 21;
console.log(age);
}
getAge();
@apexprogrammer
π2π₯2
π3π₯1π1π¨βπ»1π1
#new_video
Assalaamu Alaykum.
JavaScript darsidan bir parcha... Constructor Functions
Like & Subscribe β
https://youtu.be/tKCYmmR9z2U
Assalaamu Alaykum.
JavaScript darsidan bir parcha... Constructor Functions
Like & Subscribe β
https://youtu.be/tKCYmmR9z2U
YouTube
constructor functions in javascript
Dars jarayonidan yozib olingan...
JavaScriptni chuqur o'rganmoqchi bo'lsangiz Telegram kanalimga obuna bo'ling π
Thanks for watching ))
Telegram kanal π½ π½ π½
https://t.me/apexprogrammer
JavaScriptni chuqur o'rganmoqchi bo'lsangiz Telegram kanalimga obuna bo'ling π
Thanks for watching ))
Telegram kanal π½ π½ π½
https://t.me/apexprogrammer
π₯7π€©2π1
This media is not supported in your browser
VIEW IN TELEGRAM
π4π₯1
azizbek nomonjonov
Video message
π4π₯1
π₯2π1
π2π₯2π1π€1π€―1π1
#javascript_questions
Day-14
Is this possible in js and if so what is the output?
@apexprogrammer
Day-14
Is this possible in js and if so what is the output?
var num = 8;
var num = 10;
console.log(num);
@apexprogrammer
π₯4π2
π3π2π1π€1π€©1
#javascript_questions
Day-15
What is the output?
@apexprogrammer
Day-15
What is the output?
const obj = { 1: 'a', 2: 'b', 3: 'c' };
const set = new Set([1, 2, 3, 4, 5]);
obj.hasOwnProperty('1');
obj.hasOwnProperty(1);
set.has('1');
set.has(1);
@apexprogrammer
π₯4π2
day-15 answer choices:
Anonymous Quiz
16%
A: false true false true
20%
B: false true true true
52%
C: true true false true
12%
D: true true true true
π₯±3π1π€1π1π€©1
#javascript_questions
Day-16
consolega nima chiqadi?
@apexprogrammer
Day-16
consolega nima chiqadi?
const obj = {
a: "one",
b: "two",
a: "three",
};
console.log(obj);
@apexprogrammer
π₯4
day-16 javoblari:
Anonymous Quiz
8%
A: { a: "one", b: "two" }
23%
B: { b: "two", a: "three" }
35%
C: { a: "three", b: "two" }
35%
D: SyntaxError
π€3π2π1
#dev_diaries #meme
z-index: 9; β
z-index: 9999999999999 β
sizlarda ham shundaymi? π
@apexprogrammer
z-index: 9; β
z-index: 9999999999999 β
sizlarda ham shundaymi? π
@apexprogrammer
π3π2π€£1
#javascript_questions
Day-17
What is the output?
@apexprogrammer
Day-17
What is the output?
for (let i = 1; i < 5; i++) {
if (i === 3) continue;
console.log(i);
}
@apexprogrammer
π₯4