Skip to content

Instantly share code, notes, and snippets.

View anthonycole's full-sized avatar
🏠
Working from home

Anthony Cole anthonycole

🏠
Working from home
View GitHub Profile
@bradfrost
bradfrost / gist:59096a855281c433adc1
Last active September 4, 2023 15:01
Why I'm Not A JavaScript Developer

Answering the Front-end developer JavaScript interview questions to the best of my ability.

  • Explain event delegation

Sometimes you need to delegate events to things.

  • Explain how this works in JavaScript

This references the object or "thing" defined elsewhere. It's like "hey, thing I defined elsewhere, I'm talkin' to you."

  • Explain how prototypal inheritance works.
<?php
/**
*
* @package WordPress
* @subpackage Taxonomy
*
* @uses $wpdb
*/