You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🏠
Working from home
Manav Misra
manavm1990
🏠
Working from home
Senior Web Developer
Pro-Wrestling Fan
Pushing for an 1100 ELO rating ♟️
Ticket #5: Implement findPokemonById
Assigned to: Groups 8 & 9
Estimated time: 25 minutes
Difficulty: ⭐⭐⭐ Medium-Hard
What You're Doing
Create a new function findPokemonById that finds a Pokemon by its ID number. This ticket focuses on error handling and robust function design.
Assigned to: Groups 3 & 4 Estimated time: 20 minutes Difficulty: ⭐⭐ Medium
What You're Doing
The getStrongestPokemon function has a bug - when multiple Pokemon have the SAME attack stat, it only returns the first one. We need to return ALL tied Pokemon.
Hoisting is a JavaScript-specific behavior that moves variable and function declarations to the top of their scope during the compile phase. This means that you can use variables and functions before they’re declared in your code. While this might sound convenient, it can also lead to confusion and bugs if you're not careful.
How Hoisting Works
In JavaScript, there are two main types of hoisting:
Variable Hoisting
Variables declared with var are hoisted to the top of their scope, but only their declarations are hoisted. The initialization (assignment of a value) remains in place. This can lead to unexpected results.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For use with the following lesson: http://localhost:3000/functional/array-methods
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A 200-word sample for a News Writer position with Inside the Ropes
The Undertaker Reflects on Montreal Screwjob, Praises Bret Hart
In a recent episode of the podcast Six Feet Under with Mark Calaway, WWE legend The Undertaker shared his thoughts on the infamous Montreal Screwjob. He offered a unique perspective on the controversial incident that occurred during the 1997 Survivor Series.
The Undertaker acknowledged the unfortunate nature of the event. He stated, "As mad as I was about it... at the end of the day, I don't know that there was any choice." He emphasized the high-stakes nature of the 'Monday Night Wars.' He explained that WWE couldn't risk their champion appearing on rival World Championship Wrestling programming.
Despite the controversy, The Undertaker praised Bret Hart as "a really good friend" and lauded his in-ring abilities. He regretted that the Montreal Screwjob overshadows the careers of both Hart and Shawn Michaels.
The Deadman also revealed the impact Hart had on his career. He stated, "I grew