16 lines
254 B
JavaScript
16 lines
254 B
JavaScript
"use strict";
|
|
export class MyKV {
|
|
constructor(k, v) {
|
|
this.k = k
|
|
this.v = v
|
|
|
|
this.getK = function getK() {
|
|
return this.k
|
|
}
|
|
this.getV = function getV() {
|
|
return this.v
|
|
}
|
|
|
|
}
|
|
}
|