I've found that some functions like concat() push() every() both exist in Array and Array.prototype(with firefox 57.0.1 console)
It's confusing since prototype methods exist in Array.
Additionally, where does staic method(Array.from(), Array.isArray() etc) exists in?
[![enter image description here][1]][1]enter image description here
I think I've understood concepts of javascript prototype to some extent, so what I'm curious about is why prototype methods(concat() push() ...) apear both in Array and Array.prototype
[1]: https://i.sstatic.net/9uEqZ.png
I've found that some functions like concat() push() every() both exist in Array and Array.prototype(with firefox 57.0.1 console)
It's confusing since prototype methods exist in Array.
Additionally, where does staic method(Array.from(), Array.isArray() etc) exists in?
[![enter image description here][1]][1]
I think I've understood concepts of javascript prototype to some extent, so what I'm curious about is why prototype methods(concat() push() ...) apear both in Array and Array.prototype
[1]: https://i.sstatic.net/9uEqZ.png
I've found that some functions like concat() push() every() both exist in Array and Array.prototype(with firefox 57.0.1 console)
It's confusing since prototype methods exist in Array.
Additionally, where does staic method(Array.from(), Array.isArray() etc) exists in?
I think I've understood concepts of javascript prototype to some extent, so what I'm curious about is why prototype methods(concat() push() ...) apear both in Array and Array.prototype
I've found that some functions like concat() push() every() both exist in Array and Array.prototype(with firefox 57.0.1 console)
It's confusing since prototype methods exist in Array.
Additionally, where does staic method(Array.from(), Array.isArray() etc) exists in?
[![enter image description here][1]][1]
I think I've understood concepts of javascript prototype to some extent, so what I'm curious about is why prototype methods(concat()push() ...) apear both in Array and Array.prototype
[1]: enter image description herehttps://i.sstatic.net/9uEqZ.png
I've found that some functions like concat() push() every() both exist in Array and Array.prototype(with firefox 57.0.1 console)
It's confusing since prototype methods exist in Array.
Additionally, where does staic method(Array.from(), Array.isArray() etc) exists in?
I've found that some functions like concat() push() every() both exist in Array and Array.prototype(with firefox 57.0.1 console)
It's confusing since prototype methods exist in Array.
Additionally, where does staic method(Array.from(), Array.isArray() etc) exists in?
[![enter image description here][1]][1]
I think I've understood concepts of javascript prototype to some extent, so what I'm curious about is why prototype methods(concat()push() ...) apear both in Array and Array.prototype
[1]: https://i.sstatic.net/9uEqZ.png
What is the difference between Array.function and Array.prototype.function?
I've found that some functions like concat() push() every() both exist in Array and Array.prototype(with firefox 57.0.1 console)
It's confusing since prototype methods exist in Array.
Additionally, where does staic method(Array.from(), Array.isArray() etc) exists in?