just-clone question about cloning regexp
Aberta
- Linguagem predominante
- JavaScript
- Estrelas
- 6.2k
- Forks
- 210
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
I saw the following code
` if (typeof regExp.source.flags == 'string') {
return regExp.source.flags;
}`
But shouldn't source just be a string? Will it have a flags attribute?
I hope someone can answer my question, thank you very much
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.