← All freeCodeCamp videos

JavaScript Lingo: Manipulating Data

16,050 views 191 likes 2015-08-23 0:51 Watch on YouTube ↗ freeCodeCamp ↗
Web DevelopmentFrontendJavaScript

Chapters

No chapter markers in this video's description.

Show the creator's full description
The differences and similarities of methods and functions in JavaScript Methods and functions are ways you can manipulate variables or other sets of information. Methods are built in to JavaScript, and you will become more familliar with these as you write functions for the bonfires. I'd suggest looking through the MDN (Mozilla Developer Network that we discussed in the first video) to familliarize yourself with the sheer amount and general potential for the methods that exist. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Methods_Index Examples include '.split(' ')', which will turn a string into an array and can do so in many different ways. Methods are powerful - many times when you want your script to do something, there's a method for that. Functions, like variables, are something you define and create. During your bonfires, you will create functions that take a certain piece of information and manipulate it in whatever way you choose. You'll become more familliar with syntax there, but for now, just remember that with methods and functions you can do almost anything with your code. ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

Description and video by freeCodeCamp.org. This page is an independent companion view; the video is embedded from YouTube.