我對我自己的個人項目卡住了一個簡單的SQL Server事情。 我有一個表X: | Name | Lecture | Points |
|:-----------|------------:|:------------:|
| John | Math | 2
| John | Bio | 5
| Tom | Physics | 8
| Tom | Mat
我必須在JavaScript中開發自定義的myParseInt函數,該函數將字符串作爲參數,然後返回提供的參數中的所有整數與數據類型。 這裏是我的代碼 'use strict';
function myParseInt (value) {
let items = value.split('').map(Number);
let myNumbers = [];
it