Skip to content

Instantly share code, notes, and snippets.

View nshCore's full-sized avatar
:octocat:

0x1A4 nshCore

:octocat:
View GitHub Profile
<script>
export default {
props: {
show: {
type: Boolean,
required: true,
twoWay: true
}
/**
*Submitted for verification at BscScan.com on 2021-05-26
*/
/**
*/
/**
#BEE
const fs = require('fs');
function permutePhoneNumber(phoneNumber) {
const digits = '0123456789';
phoneNumber = phoneNumber.replace(/\*/g, '{}');
const permutations = [];
for (let i = 0; i <= 9; i++) {
for (let j = 0; j <= 9; j++) {
permutations.push(phoneNumber.replace(/\{}/g, i).replace(/\{}/g, j));
}