Question 41

Refer of the string below:
Const str = 'sa;esforce'=;
Which two statement result in the word 'Sale'?
Choose 2 answers
  • Question 42

    Refer to the code below:
    Let foodMenu1 = ['pizza', 'burger', 'French fries'];
    Let finalMenu = foodMenu1;
    finalMenu.push('Garlic bread');
    What is the value of foodMenu1 after the code executes?
  • Question 43

    A developer initiates a server with the file server,js and adds dependencies in the source codes package,json that are required to run the server.
    Which command should the developer run to start the server locally?
  • Question 44

    Refer to the code below
    let inArray = [[1,2],[3,4,5]];
    which two statements results in the array [1,2,3,4,5]?
    choose 2 answer
  • Question 45

    A developer implements and calls the following code when an application state change occurs:
    Const onStateChange =innerPageState) => {
    window.history.pushState(newPageState, ' ', null);
    }
    If the back button is clicked after this method is executed, what can a developer expect?