Skip to content

Instantly share code, notes, and snippets.

class Trader {
String name;
String city;
Trader(this.name, this.city);
}
class Transaction {
Trader trader;
int year;
int value;
@gwanhyeong
gwanhyeong / Prime.js
Last active July 4, 2020 10:47
우아한테크캠프 3기 3일차 / woowacamp_day03_prime
const Prime = (function () {
function Prime(number = 0) {
this.number = number;
this.factorSet = this.factors();
}
Prime.prototype.toString = function() {
return this.number;
}