OVMS3/OVMS.V3/components/duktape/examples/coffee/globals.coffee

8 lines
214 B
CoffeeScript
Raw Normal View History

print '*** All globals'
print(name) for name in Object.getOwnPropertyNames(this)
print '*** Globals with a short name (<= 8 chars)'
print(name) for name in Object.getOwnPropertyNames(this) when name.length <= 8