Commit 9b235a32 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Testing another source snippet with compare.rb

parent 1fa74f6c
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -6,11 +6,11 @@ require 'jsduck/js/esprima'
require 'pp'

code = <<-EOS
var x = {
    foo: 5,
    // Some docs
    bar: 5
};
function x() {
    // Function A
    function a() {
    }
}
EOS

pp JsDuck::Js::Esprima.parse(code)