@kenanhancer/

FairViciousConversion

ES6

No description

fork
loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.1024354753846699","path":"main.js","file":{"path":"main.js","content":{"asEncoding":{"base64":"Y29uc3QgcGF5bWVudCA9ICh7IGFtb3VudCA9IDUsIHN0cmluZ2VudCA9IDEgfSkgPT4gKHsKICBhbW91bnQsCiAgY3VycmVuY3k6ICdHQlAnLAogIHN0cmluZ2VudAp9KTsKCmNvbnN0IHYxID0gcGF5bWVudCh7IHN0cmluZ2VudDogMCB9KTsKCmNvbnNvbGUubG9nKHYxKTs="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
const payment = ({ amount = 5, stringent = 1 }) => ({
  amount,
  currency: 'GBP',
  stringent
});

const v1 = payment({ stringent: 0 });

console.log(v1);
Babel Compiler v6.4.4 Copyright (c) 2014-2015 Sebastian McKenzie