moojjoo / InterviewQuestions

Collection of Interview questions over the years

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lessons Learned Interviewing

Q. How to empty an Array using JavaScript?

A.

var list = [1, 2, 3];
function empty(){
    //empty your Array
    list = [];
    //or
    list.length = 0;
}
empty();

Q. What is a JavaScript closure and how it is used?

A. (See code) [https://github.com/moojjoo/InterviewQuestions/blob/master/closure.js]


Q. What Version C# as of 6/4/2019 do you use?

A. The most recent version is C# 7.3, which was released in 2018 alongside Visual Studio 2017 version 15.7.2


About

Collection of Interview questions over the years


Languages

Language:JavaScript 100.0%