#51 #javascript interview question: white space is retained in ES6 template literals? #100DaysOfCode #cultivatingcoders
— Kauress (@kauresss) February 12, 2020
#52 #javascript interview question:
— Kauress (@kauresss) February 12, 2020
<h2 id="para1"></h2>
localStorage.❓("guestName", "missLorem");
document.getElementById("para1").innerHTML = localStorage.❓("guestName")#100DaysOfCode #cultivatingcoders #womenwhocode
#53 #javascript interview question:
— Kauress (@kauresss) February 13, 2020
let mySymbol = Symbol(“kode”);
let mySymbol2 = Symbol(“kode”);
console.log(mySymbol === mySymbol2)//⭐️ #100DaysOfCode #cultivatingcoders #womenwhocode
#54 #javascript #callback interview question:
— Kauress (@kauresss) February 14, 2020
Complete this :
function simpleCallback(msg1,msg2, callback) {
console.log(msg1,msg2);
❓
}
simpleCallback("Hello","Code", function() {❓ }); #100DaysOfCode #cultivatingcoders #womenwhocode #codify
#55 #javascript interview question:
— Kauress (@kauresss) February 14, 2020
const yummies = ['Ice-cream','Cupcake','Donut','Cupcake'];
yummies.forEach(⭐️complete this part⭐️){
console.log(item + ' The index is ' + index +' The whole array is: ' + yummies);
});#100DaysOfCode #cultivatingcoders #womenwhocode #codify pic.twitter.com/NnqFyuQoTR
#56 #javascript forEach( ) warmup interview question:
— Kauress (@kauresss) February 15, 2020
Multiply every item in the array and log it's index , then push the result to newNums:
let nums = [1,2,3];
let newNums =[]
nums.forEach(function(num,index){
❓
}); #100DaysOfCode #cultivatingcoders #womenwhocode #codify
#57 #javascript interview question:
— Kauress (@kauresss) February 15, 2020
🐛 What is the function of the debugger keyword? #100DaysOfCode #cultivatingcoders #womenwhocode #codify
#58 #javascript interview question: What will “result” log to? How do you check for this type of property? let result = (13+13+"e"); #cultivatingcoders #codify #womenwhocode
— Kauress (@kauresss) February 16, 2020
#59 #javascript interview question:
— Kauress (@kauresss) February 16, 2020
🍓 Define/explain higher order functions#100DaysOfCode #cultivatingcoders #womenwhocode #webdev #codify #Jobs
#60 #javascript interview question: "Do you follow any JS devs on twitter, & read any blogs". An actual question that was asked by @sitepointdotcom "do you follow any CSS experts/devs, who is your favorite?" #100DaysOfCode #cultivatingcoders #womenwhocode #webdesign #codify
— Kauress (@kauresss) February 17, 2020
#61 #javascript interview question:
— Kauress (@kauresss) February 17, 2020
let x = () =>{};
let y= {};
console.log(typeof(x) !== typeof(y)); //❓🌠#100DaysOfCode #cultivatingcoders #womenwhocode #codify
#62 #javascript #interview question:
— Kauress (@kauresss) February 17, 2020
⭐️What ES9 method should you use to transform this into an obj?
const langs = [['#JavaScript, Web'], ['#Python, ML'], ['#C#, VR']];
const langsObj = Object.❓❓(langs);#100DaysOfCode #cultivatingcoders #womenwhocode #codify #webdevelopers
#63 #javascript interview question:
— Kauress (@kauresss) February 18, 2020
let nums = [1,[2],[3],[4,5];
console.log(nums.flat());//🦖
console.log(nums);//🦖 #100DaysOfCode #cultivatingcoders #womenwhocode #codify #webdev
#64 #javascript interview question: explain inheritance in JavaScript #100DaysOfCode #cultivatingcoders #womenwhocode #codify
— Kauress (@kauresss) February 19, 2020
#65 #javascript interview question: Complete the following to log the current weekday in string format (“monday” etc) let today = new Date(); let day = today.getDay(); #100DaysOfCode #cultivatingcoders #womenwhocode
— Kauress (@kauresss) February 19, 2020
#66 #javascript interview question: console.log(Math.pow(3,3));⭐️ #100DaysOfCode #cultivatingcoders #womenwhocode #codify #Webdesign
— Kauress (@kauresss) February 19, 2020
#67 #javascript interview question: ⭐️Besides console.log what other console methods are there of the console object?⭐️ #100DaysOfCode #cultivatingcoders #womenwhocode #codify #Webdesign
— Kauress (@kauresss) February 20, 2020
#69 #javascript interview question: what’s the difference between: let elem1 =Array.of(10);
— Kauress (@kauresss) February 20, 2020
let elem2=Array(10); #100DaysOfCode #cultivatingcoders #womenwhocode #codify #Webdesign #learntocode
#70 #javascript interview question: Differentiate between deep and shallow copies #100DaysOfCode #cultivatingcoders #womenwhocode #codify #Webdesign
— Kauress (@kauresss) February 21, 2020
#71 #javascript interview question: How many comparison operators are there ? #100DaysOfCode #cultivatingcoders #womenwhocode #Web
— Kauress (@kauresss) February 21, 2020
#75 #javascript interview question: Explain why console.log is false, knowing what you do about symbols in #ES6:
— Kauress (@kauresss) February 27, 2020
let b1 = Symbol("token");
let b2 = Symbol("token");
console.log(b1===b2);//false #100DaysOfCode #cultivatingcoders #womenwhocode #codify
#76 #javascript interview question: Explain the use cases of the Symbol primitive data type #100DaysOfCode #cultivatingcoders #womenwhocode #codifynigeria
— Kauress (@kauresss) February 27, 2020
#77 #javascript interview question: “fruitCopy” is a shallow copy:
— Kauress (@kauresss) February 27, 2020
let fruit= {
name: "🍎",
available: true
};
let fruitCopy = fruit; https://t.co/IHozNaKVwa = "🍋";
console.log(https://t.co/6lOEt0nkcK)//🍋 #100DaysOfCode #cultivatingcoders #womenwhocode #codify
#78 #javascript interview question: when you pass by value a new location in memory is created #100DaysOfCode #cultivatingcoders #WomenWhoCode #codify
— Kauress (@kauresss) February 27, 2020
#79 #javascript interview question: capitalize all the letters of the items in the array from the 2nd character on: let frenz = [ “Rocko”, “Nikki”, “Su”]; #100DaysOfCode #cultivatingcoders #womenwhocode #codifiy #learn
— Kauress (@kauresss) February 28, 2020
#80 #javascript interview question: what will console.log be (true or false)? console.log("0" !== 0);
— Kauress (@kauresss) February 28, 2020
console.log("" != 0);
console.log("" != "0"); #100DaysOfCode #cultivatingcoders #womenwhocode #learntocode
#81 #javascript interview question: Access the 2nd item of the 3rd elem in the 2D array AND print all Elems: let gameFoo = [
— Kauress (@kauresss) February 29, 2020
["Zelda", 1],
["Mario", 2],
["Ceasar", 3],
["Robotic", 4],
['WoW', 5]
];#100DaysOfCode #cultivatingcoders #WomenWhoCode #learning
#82 #javascript interview question: “var” is function scoped whereas “let” is block scoped #100DaysOfCode #cultivatingcoders #WomenWhoCode #webdev
— Kauress (@kauresss) March 11, 2020
#83 #javascript interview question: let setA = new Set();
— Kauress (@kauresss) March 11, 2020
setA.add(10).add(20).add(40).add(10); setA.delete(10);
console.log(setA.size);//⭐️ #100DaysOfCode #cultivatingcoders #WomenWhoCode #codify
#84 #javascript interview question:
— Kauress (@kauresss) March 14, 2020
💻What is the difference between sets & arrays?#100DaysOfCode #cultivatingcoders #womenwhocode #remoteworking
#85 #javascript interview question:
— Kauress (@kauresss) March 17, 2020
💻You can declare a variable with ‘let’ with the same name as long as the scope is different #100DaysOfCode #cultivatingcoders #womenwhocode
#86 #javascript interview question:
— Kauress (@kauresss) March 18, 2020
{
let🍎 = 🍎;
}
let🍎= 🍍;
console.log(🍎)//❓❓#100DaysOfCode #cultivatingcoders #womenwhocode #webdevelopment #learntocode #codify
#87#javascript interview question:
— Kauress (@kauresss) March 18, 2020
const num = 1;
function func1( ) {
console.log(`this is ${num}`)//❓❓
}
function func2( ) {
const num = 2;
func1( );
}
func2( );#100DaysOfCode #cultivatingcoders #womenwhocode #webdevelopment #learntocode #codify
#89 #javascript interview question:
— Kauress (@kauresss) March 19, 2020
let a = 10;
let b = a;
a = 100;
console.log(b)//❓❓
🌟What is the answer and why?🌟#100DaysOfCode #cultivatingcoders #womenwhocode #webdev #codify #learntocode
#90 #javascript interview question:
— Kauress (@kauresss) March 21, 2020
What is console.logged & why?
for (let i = 0; i <= 10; i++) {
setTimeout(function(){
console.log(i); //❓❓
}, i * 1000 );
}#100DaysOfCode #cultivatingcoders #womenwhocode #codify #wfh
#91 #javascript interview question:
— Kauress (@kauresss) March 21, 2020
Can you re-assign a property value to a const object?
const user = {
name: "Kauress",
}https://t.co/xnwbfipcsS = "Rocko";
console.log(https://t.co/xnwbfipcsS)//❓🌟#100DaysOfCode #cultivatingcoders #womenwhocode #codify #wfh
#92 #javascript interview question:
— Kauress (@kauresss) March 21, 2020
let a = {
name: "fooBar"
};
b = a;https://t.co/CY87uUDUYw = "Intelligible name";
console.log(https://t.co/bc5xR2hH2v);//❓❓#100DaysOfCode #cultivatingcoders #womenwhocode #learntocode #codify
#93 #javascript interview question:
— Kauress (@kauresss) March 21, 2020
What is happening😑
let userName = new String("JS");
console.log(userName.length)//2🌟https://t.co/dHYmM9G5rx = "Kimchi";
console.log(typeof(https://t.co/dHYmM9G5rx));//object🌟#100DaysOfCode #cultivatingcoders #womenwhocode #learntocode
#96 #javascript interview function:
— Kauress (@kauresss) March 23, 2020
Convert int 10 into it's binary representation using the Number function and toString method#100DaysOfCode #cultivatingcoders #womenwhocode
#97 #javascript interview questions:
— Kauress (@kauresss) March 23, 2020
What will be returned from the logical && operator when both operands are objects?
let a ={
fruit: 🍋
}
let b ={
juice:🥭
}
console.log(a && b) // ❓#100DaysOfCode #cultivatingcoders #womenwhocode
#99 #javascript interview question:
— Kauress (@kauresss) March 25, 2020
new Number (0); #100DaysOfCode #cultivatingcoders #womenwhocode #wfh #learning
Bookmarked!, I really like it!