mirror of
https://github.com/github/semantic.git
synced 2024-11-29 02:44:36 +03:00
Semicolons.
This commit is contained in:
parent
80c0443820
commit
b3c4daf904
@ -31,13 +31,13 @@
|
||||
|
||||
function toDOM(json) {
|
||||
if (json instanceof Array) {
|
||||
console.log("it's an array")
|
||||
console.log("it's an array");
|
||||
for (index in json) {
|
||||
console.log(json[index])
|
||||
console.log(json[index]);
|
||||
}
|
||||
} else if (json instanceof Object) {
|
||||
for (key in json) {
|
||||
console.log(key)
|
||||
console.log(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user