[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

[jx8-ios] workbook

Draft expressions and workspaces


ES6 Proxy

Ref: https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Proxy
| handler p |
handler := #get -> [:target :name| | result |
	result := target[name].
	result isNil ifTrue: [result := 37].
	result
].
{' p = new Proxy({},handler.json()); '}.
p basicAt: #a put: 1.
p#a.
p#c

jxcore internals


JS@> Smalltalk global
JS@>#{jxcore}
JS@>#{jxcore}#embeddedModule