This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as types from '../constants/ActionTypes' | |
const initialState = [ | |
{ | |
text: 'Use Redux', | |
completed: false, | |
id: 0 | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let bike = { | |
tires: 2, | |
pedals: 2, | |
frame: 52 | |
}; | |
// Change state of tires | |
bike.tires = 3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myObject = { | |
stuff: ['toys', 'animals'] | |
}; | |
console.log(myObject.stuff) // ['toys', 'animals'] | |
myObject.stuff = ['other toys', 'other animals']; | |
console.log(myObject.stuff) // ['other toys', 'other animals']; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Built with blockbuilder.org
I hereby claim:
- I am jermspeaks on github.
- I am jermspeaks (https://keybase.io/jermspeaks) on keybase.
- I have a public key ASCfeHAl51qmH5a8a_O7JeGX7NjISQK752egXBdk1hnFtwo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 |