Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /nfs/c03/h06/mnt/47997/domains/jeffschram.com/html/wp-content/plugins/types/embedded/includes/wpml.php on line 624

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /nfs/c03/h06/mnt/47997/domains/jeffschram.com/html/wp-content/plugins/types/embedded/includes/wpml.php on line 641
Uncategorized | Jeff Schram | Page 2
Jeff Schram
Projects A/V
Contact About
Project Archive

Uncategorized

March 26, 2018

JeffLearnsReact – Terminal


Warning: count(): Parameter must be an array or an object that implements Countable in /nfs/c03/h06/mnt/47997/domains/jeffschram.com/html/wp-content/plugins/workbox-video-from-vimeo-youtube-plugin/workbox_video.php on line 192

THE TERMINAL I know all this, must making notes the “$” is a “shell prompt” – never knew what that was called pwd is “Print working directory” mkdir makes a directory touch creates a file ……………………….. The command line is a text interface for the computer’s operating system. To access the command line, we use […]

JeffLearnsReact – Arrays


Warning: count(): Parameter must be an array or an object that implements Countable in /nfs/c03/h06/mnt/47997/domains/jeffschram.com/html/wp-content/plugins/workbox-video-from-vimeo-youtube-plugin/workbox_video.php on line 192

Array methods – functions that manipulate array contents. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array let myArray = [‘item one’, ‘item two’, ‘item three’] const myArray = [‘item one’, ‘item two’, ‘item three’] if you use const, you cannot change the data type but you CAN manipulate the array in any way. Each item has a numbered position JS starts counting […]

JeffLearnsReact – 9 – Iterators


Warning: count(): Parameter must be an array or an object that implements Countable in /nfs/c03/h06/mnt/47997/domains/jeffschram.com/html/wp-content/plugins/workbox-video-from-vimeo-youtube-plugin/workbox_video.php on line 192

Iterators iterate myArray = [‘one’, ‘two’, ‘three’]; .forEach() myArray.forEach(function(myArrayItem) { console.log(myArrayItem); }); myArray.forEach((myArrayItem) => { console.log(myArrayItem); }); .map() Iterates and CHANGES the contents of the array Powered by WPeMatico

JeffLearnsReact – 9 – Loops


Warning: count(): Parameter must be an array or an object that implements Countable in /nfs/c03/h06/mnt/47997/domains/jeffschram.com/html/wp-content/plugins/workbox-video-from-vimeo-youtube-plugin/workbox_video.php on line 192

for loops, which let us loop a block of code a known amount of times. let myArray = [‘one’, ‘two’, ‘three’, ‘four’]; for (let i = 0; i<myArray.length; i++) { console.log(myArray[i]); } let i = 0; is the start condition – loop will start at 0 i is the iterator variable i<myArray.length is the stop […]

March 22, 2018

JeffLearnsReact – 6- Arrays


Warning: count(): Parameter must be an array or an object that implements Countable in /nfs/c03/h06/mnt/47997/domains/jeffschram.com/html/wp-content/plugins/workbox-video-from-vimeo-youtube-plugin/workbox_video.php on line 192

Array methods – functions that manipulate array contents. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array let myArray = [‘item one’, ‘item two’, ‘item three’] const myArray = [‘item one’, ‘item two’, ‘item three’] if you use const, you cannot change the data type but you CAN manipulate the array in any way. Each item has a numbered position JS starts counting […]

Posts navigation

← Older posts
Newer posts →

Recent Posts

  • JeffLearnsReact – Classes
  • JeffLearnsReact – Objects
  • JeffLearnsReact – Flow
  • JeffLearnsReact – Iterators
  • JeffLearnsReact – Loops

Recent Comments

    Archives

    • April 2018
    • March 2018
    • May 2015
    • April 2015
    • March 2015

    Categories

    • Ducky Moto
    • JeffSchram.com
    • Photography
    • The Moon
    • Uncategorized

    Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
    Proudly powered by WordPress