(ref)
return ref.endswith('.js')
Returns true if the provided reference is a Javascript file.
Returns true if the provided reference is a Javascript file.
Returns true if the provided reference is a Javascript file .
def IsJsFile(ref):
  """Returns true if the provided reference is a Javascript file."""
  return ref.endswith('.js')
def IsJsFile ( ref ) : return ref . endswith ( '.js' )