Find Jobs
Hire Freelancers

extend a javascript class

$2 USD / hour

Cerrado
Publicado hace casi 5 años

$2 USD / hour

I want to extend the 'Promise' class to follow the following structure: export default class extends Promise{ constructor(executor){ run(()=>{ //function run(fn){return fn();} super(); //executing the super constructor must be inside run() //don't create a new instance, i.e this.promise=new Promise(..) // method implementation and other methods (except wait()) is not required, only the structure withoute TypeScript errors }); return this; } then(...args){ run(()=>{ //some adjustments for args return [login to view URL](...args) }); } wait(seconds){ //wait some time return this } } //just executes fn() and returns its value function run(fn){return fn();}
ID del proyecto: 19308048

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
4 freelancers están ofertando un promedio de $2 USD /hora por este trabajo
Avatar del usuario
Have a good experience in scripting Language. Currently working on Angular 6 base project in company from last 1.5+ Years Relevant Skills and Experience Have 4 years of Experience in Full Stack web development. Currently working on Angular 6 project and have 1.5+ Year of experienc. Have experience in Java Script, Type Script, Adobe Flex,Struts
$3 USD en 20 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
low salary. high quality profissionall self-esteem low salary. high quality profissionall self-esteem
$2 USD en 40 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hello! I'm a very experienced javascript and typescript programmer, with thousands of lines written in both languages. I believe to be totally capable for the task. I am, however, somewhat confused on what you're asking. If more details could be delivered, I'd be glad to do this for you. The task seems very simple, and I'm sure it wouldn't take me long to finish. Sincerely, Jean sidharta
$2 USD en 40 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Florida, United States
5,0
2
Forma de pago verificada
Miembro desde mar 16, 2016

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.