Can anyone explain what the second g represent in this
let str= “good” Alert(str.match(/g/g).lenght)
just found the answer g modifier is used to perform search globaly if we dun use “g “it will return only the first match
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
What is wrong? Error on test.