Ad
Code
Diff
  • const parse = (v = '') => /[^@]+@[^@]+\.[a-z]{2,}$/.test(v)
    
    • const parse = (value = '') => /[^@]+@[^@]+\.[a-z]{2,}$/.test(value)
    • const parse = (v = '') => /[^@]+@[^@]+\.[a-z]{2,}$/.test(v)
Code
Diff
  • const parse = (value = '') => /[^@]+@[^@]+\.[a-z]{2,}$/.test(value)
    
    • const parse = (value = '') => /^[^@]+@[^@]+\.[a-zA-Z]{2,}$/.test(value)
    • const parse = (value = '') => /[^@]+@[^@]+\.[a-z]{2,}$/.test(value)
Code
Diff
  • const returnhundred = () => 100;
    • function returnhundred() {
    • return Math.pow(!!!!!!!!!!!!~~!!!!!!!!!!!!~~!!!~~~~~!!!~~!!!!!!!!!~true+
    • ~~~~!!!!~~~~~~!!!~~~~~~~!!~~!!!~~~~~!!!~~!!!~~~~~~~true+
    • ~~~~!!!!~~~~~~!!!~~~~!!!~~~~!!!~~~~~!!!~~!!!~~~~~~~true+
    • ~~~~!!!!~~~~~~!!!!!!!!!!!~~~!!!~~~~~!!!~~!!!!!!!!~~true+
    • ~~~~!!!!~~~~~~!!!~~~~~~!!~~~!!!~~~~~!!!~~!!!~~~~~~~true+
    • ~~~~!!!!~~~~~~!!!~~~~~~!!~~~!!!~~~~~!!!~~!!!~~~~~~~true+
    • ~~~~!!!!~~~~~~!!!~~~~~~!!~~~!!!!!!!!!!!~~!!!!!!!!!!true,0)/0.01
    • }
    • const returnhundred = () => 100;
Code
Diff
  • const parse = (value = '') => {
      return (/^[^@]+@[^@]+\.[a-zA-Z]{2,}$/.test(value)) ? true : false;
    }
    
    • const parse = (value = '') => {
    • if (/^[^@]+@[^@]+\.[a-zA-Z]{2,}$/.test(value)) {
    • return true
    • } else {
    • return false
    • }
    • return (/^[^@]+@[^@]+\.[a-zA-Z]{2,}$/.test(value)) ? true : false;
    • }