Created
July 17, 2020 10:55
-
-
Save WinDevInd/7d247c717ea9ef75ab02a001d191577d to your computer and use it in GitHub Desktop.
Interview snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. output for snippet | |
for (var i = 0; i < 10; i++) { | |
setTimeOut(() => { | |
console.log(i); | |
}); | |
} | |
// box model - calcuclate total width | |
div { | |
width: 320px; | |
padding: 10px; | |
border: 5px solid gray; | |
margin: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment