Post
The task was to add a last() method to Array.prototype. My immediate intuition was to use this, because the method is reused and invoked at the call site. Runtime-bound, call-site-dependent behavior fits perfectly here. (2/5)
0 reposts0 likes
The task was to add a last() method to Array.prototype. My immediate intuition was to use this, because the method is reused and invoked at the call site. Runtime-bound, call-site-dependent behavior fits perfectly here. (2/5)
0 reposts0 likes