68f6c19109
* JAVA-18148 Create a new java-nashorn project from the existing language-interop * JAVA-18148 Cleanup the project to contain just the python related language interop --------- Co-authored-by: timis1 <noreplay@yahoo.com>
12 lines
252 B
JavaScript
12 lines
252 B
JavaScript
var demo = {
|
|
__noSuchProperty__: function (propName) {
|
|
print("Accessed non-existing property: " + propName);
|
|
},
|
|
|
|
__noSuchMethod__: function (methodName) {
|
|
print("Invoked non-existing method: " + methodName);
|
|
}
|
|
};
|
|
|
|
demo;
|