Question: can I please get the correct code to run for the attached 2 questions. 5. Why does this code return the results that it does?

can I please get the correct code to run for the attached 2 questions.

can I please get the correct code to run for the attached

5. Why does this code return the results that it does? function isBig (thing) { if (thing 0 || thing == == 1 || thing == 2) { return false return true } 1 false isBig (1) isBig ([ 2] ) isBig ([ 3] ). // false // true 6. Write a function to check if an input contains a substring in the following format. Please make use of regular expressions in this task. Sample input: (see bold text for substring to identify) domain.com/items/jyw73982/fentum-accumsan-1452261075-9781452261072 | result = true domain.com/items/der0932/ker-fooba-1461075-971072-123124124 | result = false domain.com/items/kdm3891/sem-mollis-fringilla-678123478691234-2345567 | result = true 5. Why does this code return the results that it does? function isBig (thing) { if (thing 0 || thing == == 1 || thing == 2) { return false return true } 1 false isBig (1) isBig ([ 2] ) isBig ([ 3] ). // false // true 6. Write a function to check if an input contains a substring in the following format. Please make use of regular expressions in this task. Sample input: (see bold text for substring to identify) domain.com/items/jyw73982/fentum-accumsan-1452261075-9781452261072 | result = true domain.com/items/der0932/ker-fooba-1461075-971072-123124124 | result = false domain.com/items/kdm3891/sem-mollis-fringilla-678123478691234-2345567 | result = true

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!