mercredi 21 décembre 2016

what is the 'use' keyword in javascript?

I am looking at this specific line of code to understand what it is or to find some documentation about it.

http://ift.tt/2halOss

const Lucid = use('Lucid')

I am trying to write a test in adonisjs using mocha and it gives me the following error "ReferenceError: use is not defined"

Aucun commentaire:

Enregistrer un commentaire