Shreyas arya

Generation

generate functionFri, 10 Feb 2023

Create a method to throw an exception if does not print a string

Script function throwError(num) { console.log(num) } throwError("hello world")

Questions about programming?Chat with your personal AI assistant