I need to have the index of an object in array so I can delete this part of the array. I tried using this:
var index = this.urenRegistratie.indexOf(newDatum);
Run Code Online (Sandbox Code Playgroud)
But it keeps returning -1 and I don't know why this is happening.
this is the part of the code I have. it gets data out of a form in html and places that into my array, now I already have an if statement ready ( exisitingDatum ) , my code needs …
我是 laravel 的新手,我想学习它。我正在尝试克隆一个github存储库。存储库告诉我我需要克隆它,然后运行“ composer install ”命令。但我收到以下错误:
[ RuntimeException ] 找不到受支持的加密器。密码和/或密钥长度无效。
脚本 php artisan clear-compiled 处理返回的 post-install-cmd 事件,错误代码为 1
我尝试在 google 上搜索此错误,它告诉我将密码更改为 ' AES-256-CBC'。但是当我检查密码时,它有“ AES-256-CBC ”。
有谁知道如何解决这个问题?