This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { expect } from 'chai'; | |
import { bool } from 'aws-sdk/clients/signer'; | |
describe('codewars', () => { | |
it('set unique', () => { | |
const arrayDiff = (l, r) => Array.from(new Set(l.concat(r))); | |
const t = arrayDiff([1, 2], [2]); | |
expect(t).to.have.lengthOf(2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
empty = "!sh -c 'git switch --orphan $0 && git commit --allow-empty -m \"empty commit\" && git rebase --onto master $0 && git push -u origin $0'" |
OlderNewer