1445
Points
Questions
78
Answers
644
-
If you create any RDD from an existing RDD that is called as transformation and unless you call an action …
- 753 views
- 10 answers
- 0 votes
-
There are no in-built functions and properties available to calculate the length of associative array object here. However, there are …
- 492 views
- 5 answers
- 0 votes
-
Function Expression var foo = function foo(){ return 12; }; In JavaScript, variable and functions are hoisted. Let’s take function hoisting first. Basically, …
- 509 views
- 8 answers
- 0 votes
-
var foo = function(){ // Some code }; function bar(){ // Some code }; The main difference is the function foo is …
- 422 views
- 7 answers
- 0 votes
-
var trees = [“redwood”,”bay”,”cedar”,”oak”,”maple”]; delete trees[3]; When you run the code above and type console.log(trees); into your Chrome developer console, you will …
- 430 views
- 4 answers
- 0 votes
-
The best way to find out whether or not an object is an instance of a particular class is to …
- 465 views
- 7 answers
- 0 votes
-
For instance, var arrayList = [‘a’,’b’,’c’,’d’,’e’,’f’]; How can we empty the array above? There are a couple ways we can …
- 423 views
- 8 answers
- 0 votes
-
console.log(mul(2)(3)(4)); // output : 24 console.log(mul(4)(3)(4)); // output : 48 Below is the answer followed by an explanation to how …
- 501 views
- 3 answers
- 0 votes
-
A closure is a function defined inside another function (called the parent function), and has access to variables that are …
- 569 views
- 4 answers
- 0 votes
-
One of the drawbacks of creating true private methods in JavaScript is that they are very memory-inefficient, as a new …
- 587 views
- 5 answers
- 0 votes