MongoView/jstest/main.swift

15 lines
279 B
Swift
Raw Normal View History

//
// main.swift
// jstest
//
// Created by Shadowfacts on 4/2/20.
// Copyright © 2020 Shadowfacts. All rights reserved.
//
import Foundation
let source = "[1 + 2, 3,]"
let highlighter = JavaScriptHighlighter(text: source)
highlighter.debug = true
highlighter.highlight()