
Curriculum Writer | Technical Programs @TuringSchool | Curriculum @kodewithklossy | she/her
Denver, CO
Joined June 2015
- Tweets366
- Following543
- Followers534
- Likes2.5K
Pinned Tweet
Hedgie of the Day: What is a JavaScript Array?
An array is a complex data type that can hold multiple pieces of data. We can think of an array as a list!
Great intro on Swift attributes - modeling how to incorporate iPads and student interests at #CEILeadAndLearn @AppleEDU #Cohort19 – at Colorado, USA
And now my mind is blown by Clips! Allows you to quickly make fun videos using camera or photos, built in support for captions #CEILeadAndLearn #EveryoneCanCreate – at Colorado, USA
Already blown away by the content and facilitation at the the @AppleEDU Coding Academy #CEILeadAndLearn
Well I’m excited to learn more about mindfulness for programmers with @lauren_codes and @wwcboston tomorrow!! – at Colorado, USA
This quoted post is unavailable.
Glam your command prompt - a MUST WACTH 👑 I don't care how beginner or experienced you are, you need this in your life.
The safest place to be at 7pm 🙌 – at Colorado, USA
Okay, friends - it's happening. Join me on my twitch stream at 7pm MST for public domain stories.
twitch.tv/letakeen
The last few days have been dark, y'all. I just treated myself + a friend to one of these beautiful stickers! If you can, I'd highly recommend 🌸
You’re unable to view this Post because this account owner limits who can view their Posts. Learn more
Corrected✨ Adding Elements:
- push & unshift are array prototype methods that allow us to add elements to an array
- we tell these methods what to add to the array by passing them one or more arguments
- push & unshift mutate the array they are called on
code snippet for push:
var hedgies = [a, b];
hedgies.push(c);
hedgies has been mutated: [a, b, c]
code snippet for unshift:
var hedgies = [a, b];
hedgies.unshift(c);
hedgies has been mutated: [c, a, b]
Thanks to my homie @Bigbrixwilliams for catching that🙌
Have you enjoyed the Hedgie of the Days? What would you want to see next week?
56%Array Prototype of theDay
33%Which Prototype? Guide
11%Other! Please respond.
9 votes • Final resultsAdding Elements
- push & shift are array prototype methods that allow us to add elements to an array
- we tell these methods what to add to the array by passing them one or more arguments
- push & shift mutate the array they are called on
code snippet for push:
var hedgies = [a, b];
hedgies.push(c);
hedgies has been mutated & is now: [a, b, c]
code snippet for shift:
var hedgies = [a, b];
hedgies.shift(c);
hedgies has been mutated & is now: [c, a, b]








