Consider the following React Native component… function Fade…

Consider the following React Native component… function Fader() {  const fadeAnim = useRef(new Animated.Value(1));  function fade() {    Animated.timing(fadeAnim.current, {      toValue: 0,      duration: 10000,      useNativeDriver: true,    }).start();  }  return      } What will happen when the “Press Me” button is pressed?

Consider the following code… let floors1 = [  { floor: 5, ha…

Consider the following code… let floors1 = [  { floor: 5, hasCoffee: false, hasMints: true },  { floor: 6, hasCoffee: true, hasMints: false },  { floor: 7, hasCoffee: false, hasMints: false },]let floors2 = […floors1];floors2.push({floor: 8, hasCoffee: true, hasMints: true});floors2[0].hasCoffee = true; After executing this code, how many objects held by floors1 will have a key of hasCoffee with a value of true?