MongoView/jstest/main.swift

14 lines
247 B
Swift

//
// main.swift
// jstest
//
// Created by Shadowfacts on 4/2/20.
// Copyright © 2020 Shadowfacts. All rights reserved.
//
import Foundation
let source = "a ? 'foo' : b ? 'bar' : 'baz'"
_ = JavaScriptHighlighter(text: source).highlight()