Skip to content

Instantly share code, notes, and snippets.

@Zaur-Lumanov
Created June 13, 2018 12:22
Show Gist options
  • Save Zaur-Lumanov/d0230883d29d6a522fff6f54e8560c58 to your computer and use it in GitHub Desktop.
Save Zaur-Lumanov/d0230883d29d6a522fff6f54e8560c58 to your computer and use it in GitHub Desktop.
const {
proffer = "кек"
} = process.env
const proffer2 = Array(...proffer)
.reverse()
.join('')
console.log(`${proffer} - ${proffer2}: ${
proffer.replace(/\s+/g, '') != proffer2.replace(/\s+/g, '') ? 'не ' : ''
}палиндром`)
{
"name": "edu07062018_1",
"version": "1.1.0",
"main": "edu07062018_1.js",
"license": "MIT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment