Fakultas Ilmu Komputer UI

Commit ab9f1fff authored by Zamil Majdy's avatar Zamil Majdy
Browse files

[Refactor] Add indent on dumper library

parent 9481a574
......@@ -3,6 +3,7 @@
export default class Dumper {
static dump(obj, indent) {
let result = '';
if (indent == null) indent = '';
for (const property in obj) {
let value = obj[property];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment