allSymbols.js (479B)
1 const TIME = 60; 2 let count = 0; 3 4 function incrementCounter(counter) { 5 return counter++; 6 } 7 8 const sum = (a, b) => a + b; 9 10 const Obj = { 11 foo: 1, 12 doThing() { 13 console.log("hey"); 14 }, 15 doOtherThing: function() { 16 return 42; 17 } 18 }; 19 20 Obj.property = () => {}; 21 Obj.otherProperty = 1; 22 23 class Ultra { 24 constructor() { 25 this.awesome = true; 26 } 27 28 beAwesome(person) { 29 console.log(`${person} is Awesome!`); 30 } 31 } 32 33 this.props.history.push(`/dacs/${this.props.dac.id}`);