We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Esta traducción está incompleta. Por favor, ayuda a traducir este artículo del inglés.

Obsoleto
Esta funcionalidad es obsoleta. Aunque puede aún funcionar en algunos navegadores, se desalienta su uso ya que puede ser removida en cualquier momento. Evite usarla.

Summary

The Object.eval() method used to evaluate a string of JavaScript code in the context of an object, however, this method has been removed.

Syntax

obj.eval(string)

Parameters

string
Any string representing a JavaScript expression, statement, or sequence of statements. The expression can include variables and properties of existing objects.

Description

The eval method can no longer be used as a method of an object. Use the top-level eval() function instead.

Specifications

Not part of any specifications.

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support Sin soporte Sin soporte Sin soporte Sin soporte Sin soporte
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Sin soporte Sin soporte Sin soporte Sin soporte Sin soporte Sin soporte

See also

Etiquetas y colaboradores del documento

Colaboradores en esta página: fscholz
Última actualización por: fscholz,