Tricky Javascript Code Snippets Asked In the Interview
In this article, we will see some of the most famous interview code snippets that are asked to check your knowledge about Javascript concepts.
Let's get started.
Predict the output of the below code:
const user = {
name: 'Raj',
location: {
ci...
blog.yogeshchavan.dev4 min read
kishore kumar
It's a beginning
Yet again , Thanks for such a great article yogesh ... May i know how it is treated as no reassignment of number in this case .... as number is declared with const ... Thanks :)
const number = 1; const result = (function (number) { delete number; return number; })(10);