patel soft technologies Interview Report
- 0of 0 votes
AnswersWhat is the output of below code.
- hr@patelsoft.com April 06, 2022 in India
function checkType(num = 1) {
console.log(typeof num);
}
checkType();
checkType(undefined);
checkType('');
checkType(null);| Report Duplicate | Flag | PURGE
patel soft technologies Software Engineer / Developer JavaScript - 0of 0 votes
Answerswrite a code for lucky sevens using javascript
- hr@patelsoft.com April 06, 2022 in India| Report Duplicate | Flag | PURGE
patel soft technologies Software Engineer / Developer JavaScript - 0of 0 votes
AnswersWhat is the output of the following code?
- hr@patelsoft.com April 06, 2022 in India
var length = 10;
function fn() {
console.log(this.length);
}
var obj = {
length: 5,
method: function(fn) {
fn();
arguments[0]();
}
};
obj.method(fn, 1);| Report Duplicate | Flag | PURGE
patel soft technologies Software Engineer / Developer JavaScript - 0of 0 votes
AnswersWhat will the code below output to the console
- hr@patelsoft.com April 06, 2022 in India
var arr1 = "john".split('');
var arr2 = arr1.reverse();
var arr3 = "jones".split('');
arr2.push(arr3);
console.log("array 1: length=" + arr1.length + " last=" + arr1.slice(-1));
console.log("array 2: length=" + arr2.length + " last=" + arr2.slice(-1));| Report Duplicate | Flag | PURGE
patel soft technologies Software Engineer / Developer JavaScript - 0of 0 votes
AnswersGive an example of JavaScript Multiplication Table
- hr@patelsoft.com April 06, 2022 in India| Report Duplicate | Flag | PURGE
patel soft technologies Software Engineer / Developer JavaScript