Palak Bansalpalakbansal.hashnode.dev·Apr 4, 2024DP World Frontend Interview ExperienceI recently interviewed with DP World, and here is the information I can provide. Flatten an array const arr = [1,2,[1,1,[34,67,5,1,1,1,[{a: 1}]]]]; const b = [[1,2],0,0,0,[3,[4,5]],[6,7,[[[8],9]]],10]; let newArr = []; const flatten = (arr) => { ...Discuss·4 likesfrontend-interviews
Kshitiz Kumarblog.kshitiz.net·Jan 16, 2024A promise I made to myself 7 years ago.When I first started with React, I didn't know much about it. I learned the basics in just one week and landed an unpaid internship during college, though I can't recall where exactly. In that internship, my first task was to use an OTP Component. Bu...Discuss·75 readsReact
brian librianliofficial.hashnode.dev·May 11, 2023[Javascript ] ES6 Memory leakThree types of memory leaking for JavaScript and two types of react.js issue Undeclared or accidental global variables if we don't set any var let const it will turn to be global set, we can use 'use strict' to avoid it. the sample below The unde...Discuss·37 readsinterview