Skip to content

Instantly share code, notes, and snippets.

View kunal-mandalia's full-sized avatar

Kunal kunal-mandalia

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kunal-mandalia on github.
  • I am kunalmandalia (https://keybase.io/kunalmandalia) on keybase.
  • I have a public key ASBL9lnEo-2mBoJQJzZuUfMeAJiZF-vmUmNsE8Nlr0eK1go

To claim this, I am signing this object:

// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
const assert = require('assert')
function isPalindrome (arg) {
if (typeof arg !== 'string') return false;
const alphanumericOnly = arg.replace(/[^a-z0-9]/gi, "");
return alphanumericOnly === alphanumericOnly.split('').reverse().join('');
}
function runTests () {
const cases = [