-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.js.map
1 lines (1 loc) · 1.5 KB
/
index.js.map
1
{"version":3,"sources":["node_modules/browserify/node_modules/browser-pack/_prelude.js","src.js"],"names":[],"mappings":"AAAA;ACAA,YAAY,CAAC;;;;;;qBAEE,CAAA,UAAS,KAAK,EAAE;AAC7B,SAAO,UAAU,MAAM,EAAE;AACvB,QAAI,GAAG,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC;QAClC,GAAG,GAAG,CAAC;QACP,GAAG,GAAG,CAAC,CAAC;;AAEV,WAAO,GAAG,EAAE,EAAE;AACZ,SAAG,IAAI,EAAE,GAAG,IAAI,CAAC,CAAA,AAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;KACrE;;AAED,WAAO,GAAG,GAAG,EAAE,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC;GAClC,CAAC;CACH,CAAA,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC","file":"index.js","sourceRoot":"/source/","sourcesContent":["(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})","'use strict';\n\nexport default function(array) {\n return function (number) {\n let len = number ? number.length : 0,\n bit = 1,\n sum = 0;\n\n while (len--) {\n sum += !(bit ^= 1) ? parseInt(number[len], 10) : array[number[len]];\n }\n\n return sum % 10 === 0 && sum > 0;\n };\n}([0, 2, 4, 6, 8, 1, 3, 5, 7, 9]);\n"]}