SyntaxFix
Write A Post
Hire A Developer
Questions
You can now use Modern ECMAScript syntax thanks to V8 Runtime.
You can use includes():
var grade = itemResponse.getResponse(); if(grade.includes("9th")){do something}