Saltar al contenido Navegación Ir a buscar

Actualizaciones ocasionales en inglés, mayormente sobre programación, ocasionalmente de fútbol.

Brendan Eich en JavaScript 2.0

Bienvenidos al futuro de JavaScript:

Object getters, setters, and “catch-alls”:

 return {
    get x() { return this.inner.x },
    set x(nx) { this.inner.x = nx },
    get *(id) { return this.intrinsic::get(id) },
    set *(id,v) { return this.intrinsic::set(id, v) },
  }

Presentación absolutamente imprescindible sobre el futuro de JavaScript: Firefox, JavaScript, and the Future of the Web, por Brendan Eich.

31/10/2006 10:08 AM