DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to find out what a string ends with in javascript
function isJS(path) { return /jsx?$/.test(path) }
Source by edabit.com #
PREVIOUS
NEXT
Tagged:
#find
#string
#ends
#javascript
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit