Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

eScript question, hasOwnProperty

edited Mar 13, 2014 12:35PM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 5 commentsAnswered


I am writing custom eScript code and need to determine whether or not an object has its own property. The compiler, however, complains that "hasOwnProperty" is not recognized. Can this be true? The Object.prototype.hasOwnProperty has existed in ECMAScript-262 since at least 1999!

So, two questions:

1) Does anyone know how to make a hasOwnProperty in eScript?

2) Does eScript allow extensions of native eScript objects?

Thanks in advance for any help.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center