Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js startswitch

message = "<yay!"

if(message.startsWith("<")) {
	message = message.replace("<", "") 
}

console.log(message)

// output: "yay!"
 
PREVIOUS NEXT
Tagged: #js #startswitch
ADD COMMENT
Topic
Name
3+1 =