10 interesting interview problem-solving code on basic javascript

const age = 4;if (age >= 4) {console.log(‘condition is true’); } else {console.log(‘condition is false’);}
// condition is true
undefined .1
undefined.2
undefined.3
scope.js
scope.js

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Asif Ur Rahman

Asif Ur Rahman

Hi ! I am Asif. A full time web developer. Technical Course Writer & Campus Ambassador at Programming Hero || Web Developer at OmniGo || MERN Stack Developer