web api instance method
Navigator: javaEnabled() method
This method always returns false.
Syntax
javaEnabled()
Parameters
None.
Return value
The boolean value false.
Examples
if (window.navigator.javaEnabled()) {
// code will never be executed; the condition is always false
}
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.