This file contains 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 name = "Hamilton" | |
name.toUpperCase() | |
console.log(name) | |
const user = { name: "Dale" age: 54 } | |
const anotherUser = user; |
This file contains 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
function computeMultiplication(size) { | |
let max= 12; | |
let multiplier = 1; | |
let number = 1; | |
while(max <= 12*size) { | |
process.stdout.write(`${number} \t`); | |
number +=multiplier |
This file contains 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 React from 'react'; | |
import { connect } from 'react-redux'; | |
import PropTypes from 'prop-types'; | |
import { Link } from 'react-router-dom'; | |
import ReactPaginate from 'react-paginate'; | |
import AppNav from '../common/AppNav'; | |
import { searchUser } from '../../actions/searchActions'; | |
import { addMember, getGroupMembers, addMemberSuccess } | |
from '../../actions/groupActions'; |