this should be intalicized
this should be bold
- Task one
- task two
- buy lunch
const song = { | |
title: "Private Idaho", | |
artist: "The B-52s", | |
plays: 120, | |
album: "Wild Planet", | |
bandMembers: [ | |
{name:"Fred", roles: {vocals: "lead", instrument: null} } | |
// {"Cindy", | |
// {"Ricky", | |
// {"Keith", |
let colors = ["red", "blue", "green", "yellow", "orange", "teal"]; | |
// let colorStrings = [] | |
// colors.forEach(function(item) { | |
// colorStrings.push("I like the color" + " " + item) | |
// }); | |
// console.log("new array", colorStrings); | |
let reversedColors = colors.map( function(item) { | |
return item.split("").reverse().join(""); |
{ | |
let planetsArr = []; | |
let dwarfPlanets = []; | |
let planetsLandedOn = 0; | |
planetsArr.push("mercury", "Venus", "earth", "MArs", "jupiter", "saturn", "uranus", "Neptune"); | |
let planets = Object.create(null); | |
planets.setPlanetsLandedOn = function(count) { |
// *********** Simple but awesome *********** | |
console.log("random num", _.random(10, 20)); | |
// *********** Loop it *********** | |
_.times(5, function(i) { | |
console.log("adding", i + 2); | |
}); | |
let testArr = ["wow", "neat", "cool"]; |
Fundamental review of array methods in JS |
You can add a README file to your repository to tell other people why your project is useful, what they can do with your project, and how they can use it.
README files typically include information on: